com.caucho.transaction
Interface ManagedXAResource

All Superinterfaces:
XAResource

public interface ManagedXAResource
extends XAResource

Managed resource registered with the transaction.


Field Summary
 
Fields inherited from interface javax.transaction.xa.XAResource
TMENDRSCAN, TMFAIL, TMJOIN, TMNOFLAGS, TMONEPHASE, TMRESUME, TMSTARTRSCAN, TMSUCCESS, TMSUSPEND, XA_OK, XA_RDONLY
 
Method Summary
 void abortConnection()
           
 void destroy()
           
 void enableLocalTransactionOptimization(boolean isEnabled)
           
 Xid getXid()
           
 void setTransaction(UserTransactionImpl userTrans)
           
 boolean share(ManagedResource userPoolItem)
           
 boolean supportsTransaction()
           
 
Methods inherited from interface javax.transaction.xa.XAResource
commit, end, forget, getTransactionTimeout, isSameRM, prepare, recover, rollback, setTransactionTimeout, start
 

Method Detail

getXid

Xid getXid()

supportsTransaction

boolean supportsTransaction()

setTransaction

void setTransaction(UserTransactionImpl userTrans)

enableLocalTransactionOptimization

void enableLocalTransactionOptimization(boolean isEnabled)

share

boolean share(ManagedResource userPoolItem)

abortConnection

void abortConnection()

destroy

void destroy()