public class ActivationSpecImpl
extends java.lang.Object
implements javax.resource.spi.ActivationSpec, javax.resource.spi.ResourceAdapterAssociation, java.io.Serializable
getAcknowledgeMode
public String getAcknowledgeMode()
Returns the acknowledgement mode.
getDestination
public String getDestination()
Returns the destination name.
getDestinationType
public String getDestinationType()
Returns the destination type.
getMaxNumberOfWorks
public String getMaxNumberOfWorks()
Returns the maximum number of work instances to be submitted.
getMessageSelector
public String getMessageSelector()
Returns the message selector.
getPassword
public String getPassword()
Returns the user password.
getResourceAdapter
public ResourceAdapter getResourceAdapter()
Returns the resource adapter central authority instance.
getSubscriptionDurability
public String getSubscriptionDurability()
Returns the subscription durabbility.
getSubscriptionName
public String getSubscriptionName()
Returns the name of the durable subscription.
getUserName
public String getUserName()
Returns the user identification.
setAcknowledgeMode
public void setAcknowledgeMode(String acknowledgeMode)
Sets the acknowledgement mode.
setDestination
public void setDestination(String destination)
Sets the destination name.
setDestinationType
public void setDestinationType(String destinationType)
Sets the destination type (either "javax.jms.Queue" or
"javax.jms.Topic").
setMaxNumberOfWorks
public void setMaxNumberOfWorks(String maxNumberOfWorks)
Sets the maximum number of work instances to be submitted.
setMessageSelector
public void setMessageSelector(String messageSelector)
Sets the message selector.
setPassword
public void setPassword(String password)
Sets the user password.
setResourceAdapter
public void setResourceAdapter(ResourceAdapter ra)
throws ResourceException
Sets the resource adapter central authority.
setSubscriptionDurability
public void setSubscriptionDurability(String subscriptionDurability)
Sets the durability of the subscription.
setSubscriptionName
public void setSubscriptionName(String subscriptionName)
Sets the name of the durable subscription.
setUserName
public void setUserName(String userName)
Sets the user identification.
validate
public void validate()
throws InvalidPropertyException
Checks if the configuration information is valid.