|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface TransactionContext
This is how the JTA Implementation in JOTM sees the Transaction Context. This interface is used to keep the code independant of the transport layer this context is for internal use only (JOTM and UserTransaction) it has to be translated for each protocol. For the moment this Transaction Context is Serializable for test suite
Method Summary | |
---|---|
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. |
Method Detail |
---|
int getTimeout()
Coordinator getCoordinator()
void setCoordinator(Coordinator c)
c
- CoordinatorTerminator getTerminator()
void setTerminator(Terminator t)
t
- TerminatorControl getControl()
Xid getXid()
void setNotJotmCtx()
boolean isJotmCtx()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |