|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface TransactionImport
Transaction Manager extensions to support transaction inflow w/o resource adapter.
| Method Summary | |
|---|---|
int |
getTransactionRemainingTimeout()
Return duration before current transaction would timeout. |
XATerminator |
getXATerminator()
Provides a handle to a XATerminator instance. |
void |
recreate(Xid xid,
long timeout)
Recreate a transaction based on the Xid. |
void |
registerRecoveryResourceHandler(XAResource xaResource)
Allows an arbitrary XAResource to register for recovery |
void |
release(Xid xid)
Release a transaction. |
| Method Detail |
|---|
void recreate(Xid xid,
long timeout)
This method imports a transactional context controlled by an external transaction manager.
xid - the Xid object representing a transaction.void release(Xid xid)
This call releases transactional context imported by recreate method.
xid - the Xid object representing a transaction.XATerminator getXATerminator()
XATerminator instance.
The XATerminator exports 2PC protocol control to an external root transaction coordinator.
XATerminator instance.
int getTransactionRemainingTimeout()
throws SystemException
java.lang.IllegalStateException - Thrown if the current thread is
not associated with a transaction.
SystemException - Thrown if the transaction manager
encounters an unexpected error condition.void registerRecoveryResourceHandler(XAResource xaResource)
xaResource - XAResource to register for recovery
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||