com.sun.genericra.outbound
Class DestinationAdapter
java.lang.Object
com.sun.genericra.GenericJMSRAProperties
com.sun.genericra.outbound.DestinationAdapter
- All Implemented Interfaces:
- java.io.Serializable, javax.jms.Destination, javax.resource.spi.ResourceAdapterAssociation
- Direct Known Subclasses:
- QueueProxy, TopicProxy
public abstract class DestinationAdapter
- extends GenericJMSRAProperties
- implements javax.jms.Destination
Following restrictions apply, as of now on AdminObjects.
- Setting destination property is mandatory, unless we find a
way out. The actual Message provider Destination JavaBean is created
only when AS sets DestinationProperty
- QueueClassName and TopicClassName if overridden at admin-object level
would result in re-creation of physicalDestinationJavaBean if already created.
[Connectors Spec neither mandates order of mutator calls nor provides an
explicit mechanism to indicate that all overridden properties have been set,
to enable us to create the physicalDestination JavaBean then.]
- Author:
- Sivakumar Thyagarajan
- See Also:
- Serialized Form
Methods inherited from class com.sun.genericra.GenericJMSRAProperties |
equals, getCommonSetterMethodName, getConnectionFactoryClassName, getConnectionFactoryProperties, getJndiProperties, getPassword, getProviderIntegrationMode, getQueueClassName, getQueueConnectionFactoryClassName, getResourceAdapter, getRMPolicy, getSupportsXA, getTopicClassName, getTopicConnectionFactoryClassName, getUserName, getXAConnectionFactoryClassName, getXAQueueConnectionFactoryClassName, getXATopicConnectionFactoryClassName, hashCode, setCommonSetterMethodName, setConnectionFactoryClassName, setConnectionFactoryProperties, setJndiProperties, setPassword, setProviderIntegrationMode, setQueueClassName, setQueueConnectionFactoryClassName, setResourceAdapter, setRMPolicy, setSupportsXA, setTopicClassName, setTopicConnectionFactoryClassName, setUserName, setXAConnectionFactoryClassName, setXAQueueConnectionFactoryClassName, setXATopicConnectionFactoryClassName |
Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, wait, wait, wait |
DestinationAdapter
public DestinationAdapter()
_getPhysicalDestination
public javax.jms.Destination _getPhysicalDestination()
throws javax.jms.JMSException
- Throws:
javax.jms.JMSException
setDestinationJndiName
public void setDestinationJndiName(java.lang.String jndiName)
getDestinationJndiName
public java.lang.String getDestinationJndiName()
getDestinationProperties
public java.lang.String getDestinationProperties()
- Returns:
- Returns the destinationProperties.
setDestinationProperties
public void setDestinationProperties(java.lang.String destinationProperties)
- Setting destination property is mandatory, unless we find a
way out.
- Parameters:
destinationProperties
- The destinationProperties to set.
toString
public java.lang.String toString()
- Overrides:
toString
in class GenericJMSRAProperties