|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.objectweb.jonas_tm.TransactionContextCORBA
The propagation context is the transactional context that should be propagated between programs. The structure is defined in OTS specs. In case of DAVID we rely on the std class org.omg.CosTransaction.PropagationContext This class encapsulates a CORBA PropagationContext in a jonas object that implements the TransactionContext interface.
Constructor Summary | |
TransactionContextCORBA(int timeout,
Coordinator coord,
javax.transaction.xa.Xid xid)
Build a new TransactionContext when a new transaction is started. |
|
TransactionContextCORBA(org.omg.CosTransactions.PropagationContext pctx)
Build a TransactionContext from a CORBA PropagationContext propagated in an incoming request in RMI-IIOP. |
Method Summary | |
Control |
getControl()
Get the control associated with the transaction |
Coordinator |
getCoordinator()
Get the coordinator associated with the transaction |
Terminator |
getTerminator()
Get the Terminator associated with the transaction |
int |
getTimeout()
Get the timeout associated with the transaction |
javax.transaction.xa.Xid |
getXid()
Get the Xid associated with the transaction |
void |
setCoordinator(Coordinator coord)
Set the coordinator associated with the transaction |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public TransactionContextCORBA(int timeout, Coordinator coord, javax.transaction.xa.Xid xid)
public TransactionContextCORBA(org.omg.CosTransactions.PropagationContext pctx)
Method Detail |
public int getTimeout()
getTimeout
in interface TransactionContext
public Coordinator getCoordinator()
getCoordinator
in interface TransactionContext
public void setCoordinator(Coordinator coord)
setCoordinator
in interface TransactionContext
public Terminator getTerminator()
getTerminator
in interface TransactionContext
public Control getControl()
getControl
in interface TransactionContext
public javax.transaction.xa.Xid getXid()
getXid
in interface TransactionContext
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |