|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sun.genericra.AbstractXAResourceType
public abstract class AbstractXAResourceType
AbstractXAResource object used by all XAResource objects in generic jms ra. The class contains the logic to compare the XAResource object, when RMPolicy is set to "One for Physical Connection".
| Field Summary |
|---|
| Fields inherited from interface javax.transaction.xa.XAResource |
|---|
TMENDRSCAN, TMFAIL, TMJOIN, TMNOFLAGS, TMONEPHASE, TMRESUME, TMSTARTRSCAN, TMSUCCESS, TMSUSPEND, XA_OK, XA_RDONLY |
| Constructor Summary | |
|---|---|
AbstractXAResourceType()
|
|
| 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 |
abstract java.lang.Object |
getWrappedObject()
Abstract method declaration. |
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 |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface javax.transaction.xa.XAResource |
|---|
commit, end, forget, getTransactionTimeout, isSameRM, prepare, recover, rollback, setTransactionTimeout, start |
| Constructor Detail |
|---|
public AbstractXAResourceType()
| Method Detail |
|---|
public abstract java.lang.Object getWrappedObject()
getWrappedObject in interface XAResourceTypepublic void setConnection(javax.jms.Connection con)
setConnection in interface XAResourceTypepublic javax.jms.Connection getConnection()
getConnection in interface XAResourceTypepublic void setRMPolicy(java.lang.String policy)
setRMPolicy in interface XAResourceTypepublic java.lang.String getRMPolicy()
getRMPolicy in interface XAResourceTypepublic boolean compare(XAResourceType type)
compare in interface XAResourceType
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||