org.objectweb.joram.client.connector

Class ActivationSpecImpl

Implemented Interfaces:
javax.resource.spi.ActivationSpec, javax.resource.spi.ResourceAdapterAssociation, java.io.Serializable

public class ActivationSpecImpl
extends java.lang.Object
implements javax.resource.spi.ActivationSpec, javax.resource.spi.ResourceAdapterAssociation, java.io.Serializable

An ActivationSpecImpl instance holds configuration information related to an endpoint deployment.

See Also:
Serialized Form

Constructor Summary

ActivationSpecImpl()
Constructs an ActivationSpecImpl instance.

Method Summary

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

Constructor Details

ActivationSpecImpl

public ActivationSpecImpl()
Constructs an ActivationSpecImpl instance.

Method Details

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.


Copyright B) 2004 Scalagent - All rights reserved