|
Joram ${version} | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.objectweb.joram.client.connector.ActivationSpecImpl
An ActivationSpecImpl
instance holds configuration information
related to an endpoint deployment.
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 |
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 |
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 |
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 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 java.lang.String getDestinationType()
public java.lang.String getDestination()
public java.lang.String getUserName()
public java.lang.String getPassword()
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()
|
Joram ${version} | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |