|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface TyrexTransactionManager
Tyrex extensions for TransactionManager
. All Tyrex
transaction managers implement this interface, which supports
transaction resolving from an Xid, and means to obtain extended
transaction status.
Method Summary | |
---|---|
void |
delistResource(javax.transaction.xa.XAResource xaResource,
int flag)
Called to delist a resource from the current thread. |
void |
dumpCurrentTransaction(java.io.PrintWriter writer)
Convenience method. |
void |
dumpTransactionList(java.io.PrintWriter writer)
Convenience method. |
void |
enlistResource(javax.transaction.xa.XAResource xaResource)
Called to enlist a resource with the current thread. |
void |
enlistResource(javax.transaction.xa.XAResource xaResource,
XAResourceCallback callback)
Called to enlist a resource with the current thread. |
javax.transaction.Transaction |
getTransaction(java.lang.String xid)
Returns a transaction based on the transaction identifier. |
javax.transaction.Transaction |
getTransaction(javax.transaction.xa.Xid xid)
Returns a transaction based on the transaction identifier. |
Methods inherited from interface javax.transaction.TransactionManager |
---|
begin, commit, getStatus, getTransaction, resume, rollback, setRollbackOnly, setTransactionTimeout, suspend |
Method Detail |
---|
javax.transaction.Transaction getTransaction(javax.transaction.xa.Xid xid)
xid
- The transaction identifier
javax.transaction.Transaction getTransaction(java.lang.String xid)
xid
- The transaction identifier
void dumpTransactionList(java.io.PrintWriter writer)
writer
- The writer to usevoid dumpCurrentTransaction(java.io.PrintWriter writer)
writer
- The writer to usevoid enlistResource(javax.transaction.xa.XAResource xaResource) throws javax.transaction.SystemException
xaRes
- The XA resource
javax.transaction.SystemException
- The resource cannot be enlisted with
the current transactionvoid enlistResource(javax.transaction.xa.XAResource xaResource, XAResourceCallback callback) throws javax.transaction.SystemException
xaRes
- The XA resourcecallback
- The callback (optional)
javax.transaction.SystemException
- The resource cannot be enlisted with
the current transactionXAResourceCallback
void delistResource(javax.transaction.xa.XAResource xaResource, int flag)
xaRes
- The XA resourceflag
- The delist flag
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |