com.sun.genericra
Interface XAResourceType

All Known Implementing Classes:
AbstractXAResourceType, InboundXAResourceProxy, SimpleXAResourceProxy, XAResourceProxy

public interface XAResourceType

Interface used by all XAResource objecrts that are wrapped.

Author:
Binod P.G

Method Summary
 boolean compare(XAResourceType type)
          If any one of the resources are configured with a policy of "OneForPhysicalConnection", then compare physical connection.
 javax.jms.Connection getConnection()
          Retrieves the physical JMS connection object.
 java.lang.String getRMPolicy()
          Retrieve the RM policy
 java.lang.Object getWrappedObject()
          Retrieve the XAResource object wrapped.
 void setConnection(javax.jms.Connection con)
          Set the physical jms connection object associated with this XAResource wrapper
 void setRMPolicy(java.lang.String policy)
          Set the Resource Manager policy
 

Method Detail

getWrappedObject

java.lang.Object getWrappedObject()
Retrieve the XAResource object wrapped.


setRMPolicy

void setRMPolicy(java.lang.String policy)
Set the Resource Manager policy


getRMPolicy

java.lang.String getRMPolicy()
Retrieve the RM policy


compare

boolean compare(XAResourceType type)
If any one of the resources are configured with a policy of "OneForPhysicalConnection", then compare physical connection. Otherwise, return true so that the actual XAResource wrapper can delegate it to the underlying XAResource implementation.


getConnection

javax.jms.Connection getConnection()
Retrieves the physical JMS connection object.


setConnection

void setConnection(javax.jms.Connection con)
Set the physical jms connection object associated with this XAResource wrapper