public interface TransactionContext
extends java.io.Serializable
Modifier and Type | Method and Description |
---|---|
Control |
getControl()
get the Control of the Transaction.
|
Coordinator |
getCoordinator()
get the Coordinator of the transaction.
|
Terminator |
getTerminator()
get the Terminator of the transaction.
|
int |
getTimeout()
get transaction timeout.
|
Xid |
getXid()
get the Xid of the transaction.
|
boolean |
isJotmCtx()
return true if this context was build from a JOTM's context
|
void |
setCoordinator(Coordinator c)
set the Coordinator of the transaction.
|
void |
setNotJotmCtx()
Set a flag in the context to indicate as coming from another Vendor
|
void |
setTerminator(Terminator t)
set the Terminator of the transaction.
|
int getTimeout()
Coordinator getCoordinator()
void setCoordinator(Coordinator c)
c
- CoordinatorTerminator getTerminator()
void setTerminator(Terminator t)
t
- TerminatorControl getControl()
Xid getXid()
void setNotJotmCtx()
boolean isJotmCtx()