Package org.synchronoss.cpo.core.jta
Interface CpoXaResource
- All Superinterfaces:
XAResource
- All Known Implementing Classes:
CpoBaseXaResource
A JTA
XAResource that additionally allows the resource for a specific transaction branch
to be closed directly, without waiting for commit/rollback/forget.- Author:
- dberry
-
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
Methods inherited from interface javax.transaction.xa.XAResource
commit, end, forget, getTransactionTimeout, isSameRM, prepare, recover, rollback, setTransactionTimeout, start
-
Method Details
-
close
Closes the resource associated with the given transaction branch.- Parameters:
xid- The id of the XAResource to close- Throws:
XAException- An exception occurred closing the resource
-