org.figure8.join.services.remoting.beans
Class RemoteJMSConsumerBeanInfo
java.lang.Object
org.figure8.join.services.remoting.beans.RemoteJMSConsumerBeanInfo
- All Implemented Interfaces:
- java.io.Serializable
public class RemoteJMSConsumerBeanInfo
- extends java.lang.Object
- implements java.io.Serializable
This is a thin bean used for remotely representing a JMSConsumerBeanInfo
domain object. This remote bean if lighter than domain one.
- Version:
- $Revision: 1.1 $
- Author:
- Laurent Broudoux
- See Also:
- Serialized Form
Constructor Summary |
RemoteJMSConsumerBeanInfo(java.lang.String name,
java.lang.String selector,
java.lang.String destination,
java.lang.String consumerBeanClass,
boolean active,
boolean threadSafe)
Creates a new instance of RemoteJMSConsumerBeanInfo using mandatory fields |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RemoteJMSConsumerBeanInfo
public RemoteJMSConsumerBeanInfo(java.lang.String name,
java.lang.String selector,
java.lang.String destination,
java.lang.String consumerBeanClass,
boolean active,
boolean threadSafe)
- Creates a new instance of RemoteJMSConsumerBeanInfo using mandatory fields
- Parameters:
name
- Name corresponding to the consumerselector
- Message selector expressiondestination
- Reference of listened destinationconsumerBeanClass
- Java class used for instanciating a JMS consumeractive
- Whether the wrapped consumer is activethreadSafe
- Whether the wrapped consumer is thread safe
getName
public java.lang.String getName()
- Returns:
- The name of this consumer
setName
public void setName(java.lang.String name)
- Parameters:
name
- The name of this consumer
getSelector
public java.lang.String getSelector()
- Returns:
- The selector expression for filtering messages
setSelector
public void setSelector(java.lang.String selector)
- Parameters:
selector
- The selector expression for filtering messages
getDestination
public java.lang.String getDestination()
- Returns:
- The reference of the JMS destination this consumer should listen
setDestination
public void setDestination(java.lang.String destination)
- Parameters:
destination
- The name of the JMS destination this consumer shoud listen
getConsumerBeanClass
public java.lang.String getConsumerBeanClass()
- Returns:
- The FQN of the Java class of denoted JMSConsumerBean instance
setConsumerBeanClass
public void setConsumerBeanClass(java.lang.String consumerBeanClass)
- Give the FQN of Java class used for instanciating a JMSConsumerBean
- Parameters:
consumerBeanClass
- The FQN of the Java class of wrapped JMSConsumerBean instance
isActive
public boolean isActive()
- Returns:
- Whether the denoted
JMSConsumerBean
is active or not
setActive
public void setActive(boolean active)
- Parameters:
active
- Flag telling whether wrapped JMSConsumerBean is active or not
isThreadSafe
public boolean isThreadSafe()
- Returns:
- Whether the denoted
JMSConsumerBean
is thread safe or not
setThreadSafe
public void setThreadSafe(boolean threadSafe)
- Parameters:
threadSafe
- Flag telling whether denoted JMSConsumerBean is thread safe or not
getConsumerParameterInfos
public java.util.List getConsumerParameterInfos()
- Returns:
- The configuration parameters this consumer may have
addConsumerParameterInfo
public void addConsumerParameterInfo(RemoteParameter param)
- Parameters:
param
- A configuration parameter for this consumer implementation
Copyright © 2005-2008 Join. All Rights Reserved.