|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.figure8.join.core.EntityObject org.figure8.join.core.messaging.JMSConsumerBeanInfo
public class JMSConsumerBeanInfo
This is an EntityObject for describing a JMSConsumerBean
, its
configurable properties & parameters and its activation specification.
Configurable
,
Serialized FormConstructor Summary | |
---|---|
JMSConsumerBeanInfo()
Creates a new instance of JMSConsumerBeanInfo. |
|
JMSConsumerBeanInfo(java.lang.String name,
java.lang.String selector,
java.lang.String destination,
java.lang.String consumerBeanClass)
Creates a new instance of JMSConsumerBeanInfo with mandatory params. |
Method Summary | |
---|---|
void |
addConsumerParameterInfo(JMSConsumerBeanParameterInfo paramInfo)
Convenient method for adding a parameter info to a consumer. |
java.lang.String |
getConsumerBeanClass()
|
java.util.List |
getConsumerParameterInfos()
|
java.lang.String |
getDestination()
|
JMSConsumerBean |
getJMSConsumerBean()
Get the JMSConsumerBean wrapped within this infos container. |
java.lang.String |
getName()
|
java.lang.String |
getSelector()
|
protected void |
instanciateConsumerBean()
Try to instanciate wrapped consumerBean and configure it. |
boolean |
isActive()
|
boolean |
isThreadSafe()
|
void |
setActive(boolean active)
|
void |
setConsumerBeanClass(java.lang.String consumerBeanClass)
Give the FQN of Java class used for instanciating a JMSConsumerBean |
void |
setConsumerParameterInfos(java.util.List paramInfos)
|
void |
setDestination(java.lang.String destination)
|
void |
setName(java.lang.String name)
|
void |
setSelector(java.lang.String selector)
|
void |
setThreadSafe(boolean threadSafe)
|
Methods inherited from class org.figure8.join.core.EntityObject |
---|
clone, equals, getId, hashCode, isTransient |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public JMSConsumerBeanInfo()
public JMSConsumerBeanInfo(java.lang.String name, java.lang.String selector, java.lang.String destination, java.lang.String consumerBeanClass) throws InvalidParameterException
name
- Name of this consumerselector
- Selector expression for filtering messagesdestination
- Name of JMS destination to listen fromconsumerBeanClass
- FQN of Java class for getting a JMSConsumerBean instance
InvalidParameterException
- if consumerBeanClass is not a vlid one...Method Detail |
---|
public java.lang.String getName()
public void setName(java.lang.String name)
name
- The name of this consumerpublic java.lang.String getSelector()
public void setSelector(java.lang.String selector)
selector
- The selector expression for filtering messagespublic java.lang.String getDestination()
public void setDestination(java.lang.String destination)
destination
- The name of the JMS destination this consumer shoud listenpublic java.lang.String getConsumerBeanClass()
public void setConsumerBeanClass(java.lang.String consumerBeanClass) throws InvalidParameterException
consumerBeanClass
- The FQN of the Java class of wrapped JMSConsumerBean instance
InvalidParameterException
- if the consumerBeanClass is not an instance of JMSConsumerBean
public boolean isActive()
JMSConsumerBean
is active or notpublic void setActive(boolean active)
active
- Flag telling whether wrapped JMSConsumerBean is active or notpublic boolean isThreadSafe()
JMSConsumerBean
is thread safe or notpublic void setThreadSafe(boolean threadSafe)
threadSafe
- Flag telling whether wrapped JMSConsumerBean is thread safe or notpublic java.util.List getConsumerParameterInfos()
JMSConsumerBeanParameterInfo
s for this consumerpublic void setConsumerParameterInfos(java.util.List paramInfos)
paramInfos
- A set of JMSConsumerBeanParameterInfo
spublic void addConsumerParameterInfo(JMSConsumerBeanParameterInfo paramInfo)
paramInfo
- The parameter info to add to consumerpublic JMSConsumerBean getJMSConsumerBean() throws InvalidParameterException
JMSConsumerBean
wrapped within this infos container.
JMSConsumerBean
instance wrapped by this info bean
InvalidParameterException
- if consumerBeanClass is not validprotected void instanciateConsumerBean() throws InvalidParameterException
InvalidParameterException
- if consumerBeanClass is not valid.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |