|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface TransactionImportWrapper
Duplicates GF Transaction Manager extensions interface TransactionImport
that support transaction inflow w/o resource adapter.
| Method Summary | |
|---|---|
int |
getTransactionRemainingTimeout()
Return duration before current transaction would timeout. |
javax.resource.spi.XATerminator |
getXATerminator()
Provides a handle to a XATerminator instance which is used to import
an external transaction into Java EE TM. |
void |
recreate(Xid xid,
long timeout)
Recreate a transaction based on the Xid. |
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.javax.resource.spi.XATerminator getXATerminator()
XATerminator instance which is used to import
an external transaction into Java EE TM.
The XATerminator exports 2PC protocol control to an external root transaction coordinator.
XATerminator instance.
int getTransactionRemainingTimeout()
throws SystemException
IllegalStateException - Thrown if the current thread is
not associated with a transaction.
SystemException - Thrown if the transaction manager
encounters an unexpected error condition.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||