|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.objectweb.joram.client.connector.ActivationSpecImpl
public class ActivationSpecImpl
An ActivationSpecImpl
instance holds configuration information
related to an endpoint deployment.
Field Summary | |
---|---|
private java.lang.String |
acknowledgeMode
Acknowledgement mode. |
static java.lang.String |
AUTO_ACKNOWLEDGE
Value for the property acknowledgeMode
defined in the MDB deployment descriptor. |
private java.lang.String |
destination
The name of the destination to get messages from. |
private java.lang.String |
destinationType
The type of the destination to get messages from. |
static java.lang.String |
DUPS_OK_ACKNOWLEDGE
Value for the property acknowledgeMode
defined in the MDB deployment descriptor. |
(package private) java.lang.String |
identityClass
identity class name. |
private java.lang.String |
maxMessages
The maximum number of messages that can be assigned to a server session at one time Default is 10. |
private java.lang.String |
maxNumberOfWorks
Maximum number of work instances to be submitted (0 for infinite). |
private java.lang.String |
messageSelector
Message selector. |
private java.lang.String |
password
User password. |
private javax.resource.spi.ResourceAdapter |
ra
Resource adapter central authority. |
private static long |
serialVersionUID
|
private java.lang.String |
subscriptionDurability
Subscription durability. |
private java.lang.String |
subscriptionName
Durable subscription name, if any. |
private java.lang.String |
userName
User identification. |
Constructor Summary | |
---|---|
ActivationSpecImpl()
Constructs an ActivationSpecImpl instance. |
Method Summary | |
---|---|
java.lang.String |
getAcknowledgeMode()
Returns the acknowledgement mode. |
java.lang.String |
getDestination()
Returns the destination name. |
java.lang.String |
getDestinationType()
Returns the destination type. |
java.lang.String |
getIdentityClass()
Returns the identity class name. |
java.lang.String |
getMaxMessages()
|
java.lang.String |
getMaxNumberOfWorks()
Returns the maximum number of work instances to be submitted. |
java.lang.String |
getMessageSelector()
Returns the message selector. |
java.lang.String |
getPassword()
Returns the user password. |
javax.resource.spi.ResourceAdapter |
getResourceAdapter()
Returns the resource adapter central authority instance. |
java.lang.String |
getSubscriptionDurability()
Returns the subscription durabbility. |
java.lang.String |
getSubscriptionName()
Returns the name of the durable subscription. |
java.lang.String |
getUserName()
Returns the user identification. |
void |
setAcknowledgeMode(java.lang.String acknowledgeMode)
Sets the acknowledgement mode. |
void |
setDestination(java.lang.String destination)
Sets the destination name. |
void |
setDestinationType(java.lang.String destinationType)
Sets the destination type (either "javax.jms.Queue" or "javax.jms.Topic"). |
void |
setIdentityClass(java.lang.String identityClass)
set the identity class name. |
void |
setMaxMessages(java.lang.String maxMessages)
|
void |
setMaxNumberOfWorks(java.lang.String maxNumberOfWorks)
Sets the maximum number of work instances to be submitted. |
void |
setMessageSelector(java.lang.String messageSelector)
Sets the message selector. |
void |
setPassword(java.lang.String password)
Sets the user password. |
void |
setResourceAdapter(javax.resource.spi.ResourceAdapter ra)
Sets the resource adapter central authority. |
void |
setSubscriptionDurability(java.lang.String subscriptionDurability)
Sets the durability of the subscription. |
void |
setSubscriptionName(java.lang.String subscriptionName)
Sets the name of the durable subscription. |
void |
setUserName(java.lang.String userName)
Sets the user identification. |
void |
validate()
Checks if the configuration information is valid. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private static final long serialVersionUID
public static final java.lang.String AUTO_ACKNOWLEDGE
acknowledgeMode
defined in the MDB deployment descriptor.
public static final java.lang.String DUPS_OK_ACKNOWLEDGE
acknowledgeMode
defined in the MDB deployment descriptor.
private java.lang.String destinationType
private java.lang.String destination
private java.lang.String userName
private java.lang.String password
java.lang.String identityClass
private java.lang.String messageSelector
private java.lang.String subscriptionDurability
private java.lang.String subscriptionName
private java.lang.String acknowledgeMode
private java.lang.String maxNumberOfWorks
private java.lang.String maxMessages
private transient javax.resource.spi.ResourceAdapter ra
Constructor Detail |
---|
public ActivationSpecImpl()
ActivationSpecImpl
instance.
Method Detail |
---|
public void validate() throws javax.resource.spi.InvalidPropertyException
validate
in interface javax.resource.spi.ActivationSpec
javax.resource.spi.InvalidPropertyException
- If a parameter is missing, incorrect,
or not consistent with other
parameters.public void setResourceAdapter(javax.resource.spi.ResourceAdapter ra) throws javax.resource.ResourceException
setResourceAdapter
in interface javax.resource.spi.ResourceAdapterAssociation
javax.resource.ResourceException
public javax.resource.spi.ResourceAdapter getResourceAdapter()
getResourceAdapter
in interface javax.resource.spi.ResourceAdapterAssociation
public void setDestinationType(java.lang.String destinationType)
public void setDestination(java.lang.String destination)
public void setUserName(java.lang.String userName)
public void setPassword(java.lang.String password)
public void setIdentityClass(java.lang.String identityClass)
public void setMessageSelector(java.lang.String messageSelector)
public void setSubscriptionDurability(java.lang.String subscriptionDurability)
public void setSubscriptionName(java.lang.String subscriptionName)
public void setAcknowledgeMode(java.lang.String acknowledgeMode)
public void setMaxNumberOfWorks(java.lang.String maxNumberOfWorks)
public void setMaxMessages(java.lang.String maxMessages)
public java.lang.String getDestinationType()
public java.lang.String getDestination()
public java.lang.String getUserName()
public java.lang.String getPassword()
public java.lang.String getIdentityClass()
public java.lang.String getMessageSelector()
public java.lang.String getSubscriptionDurability()
public java.lang.String getSubscriptionName()
public java.lang.String getAcknowledgeMode()
public java.lang.String getMaxNumberOfWorks()
public java.lang.String getMaxMessages()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |