com.caucho.ejb.cfg
Class JmsActivationConfig

java.lang.Object
  extended by com.caucho.ejb.cfg.JmsActivationConfig

@Configurable
public class JmsActivationConfig
extends java.lang.Object

Configuration for a JMS/JNDI based MessageDrivenBean. Each property of this class corresponds to an ActivationConfigProperty.


Constructor Summary
JmsActivationConfig()
           
 
Method Summary
 java.lang.String getConnectionFactoryName()
          The name of a configured ConnectionFactory.
 java.lang.String getDestinationName()
          The name of a configured queue or topic
 Destination getDestinationObject()
           
 java.lang.Class<? extends Destination> getDestinationType()
           
 int getMaxPoolSize()
           
 void setConnectionFactoryJndiName(java.lang.String jndiName)
          The JNDI name of a configured ConnectionFactory.
 void setConnectionFactoryName(java.lang.String name)
          The CDI @Named value for a configured ConnectionFactory.
 void setDestinationJndiName(java.lang.String jndiName)
           
 void setDestinationName(java.lang.String jndiName)
           
 void setDestinationObject(Destination destination)
           
 void setDestinationType(java.lang.Class<?> type)
          javax.jms.Queue or javax.jms.Topic
 void setMaxPoolSize(int poolSize)
          Configures the maximum pool of listeners.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JmsActivationConfig

public JmsActivationConfig()
Method Detail

setConnectionFactoryJndiName

@Configurable
@TagName(value={"ConnectionFactoryJndiName","connectionFactoryJndiName"})
public void setConnectionFactoryJndiName(java.lang.String jndiName)
The JNDI name of a configured ConnectionFactory.


setConnectionFactoryName

@Configurable
@TagName(value={"ConnectionFactoryName","connectionFactoryName"})
public void setConnectionFactoryName(java.lang.String name)
The CDI @Named value for a configured ConnectionFactory.


getConnectionFactoryName

public java.lang.String getConnectionFactoryName()
The name of a configured ConnectionFactory.


getDestinationName

public java.lang.String getDestinationName()
The name of a configured queue or topic


setDestinationJndiName

@Configurable
@TagName(value={"DestinationJndiName","destinationJndiName"})
public void setDestinationJndiName(java.lang.String jndiName)

setDestinationName

@Configurable
@TagName(value={"DestinationName","destinationName"})
public void setDestinationName(java.lang.String jndiName)

setDestinationType

@Configurable
@TagName(value={"DestinationType","destinationType"})
public void setDestinationType(java.lang.Class<?> type)
javax.jms.Queue or javax.jms.Topic


getDestinationType

public java.lang.Class<? extends Destination> getDestinationType()

getDestinationObject

public Destination getDestinationObject()

setDestinationObject

public void setDestinationObject(Destination destination)

setMaxPoolSize

@Configurable
@TagName(value={"MaxPoolSize","maxPoolSize","consumer-max","message-consumer-max"})
public void setMaxPoolSize(int poolSize)
Configures the maximum pool of listeners.


getMaxPoolSize

public int getMaxPoolSize()