|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object | +--org.objectweb.jonas_tm.TransactionContextRMI
The propagation context is the context that should be propagated between programs. The structure is defined in OTS specs. In case of RMI and JEREMIE, We use a simplified structure because we do not have nested transactions.
| Constructor Summary | |
TransactionContextRMI(int t,
Coordinator c,
javax.transaction.xa.Xid x)
Build a new TransactionContext (from JTA layer) |
|
| 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 TransactionContextRMI(int t,
Coordinator c,
javax.transaction.xa.Xid x)
| Method Detail |
public int getTimeout()
getTimeout in interface TransactionContextpublic Coordinator getCoordinator()
getCoordinator in interface TransactionContextpublic void setCoordinator(Coordinator coord)
setCoordinator in interface TransactionContextpublic Terminator getTerminator()
getTerminator in interface TransactionContextpublic Control getControl()
getControl in interface TransactionContextpublic 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 | ||||||||