| java.lang.Object org.objectweb.jotm.InternalTransactionContext
InternalTransactionContext | public class InternalTransactionContext implements TransactionContext(Code) | | Classe InternalTransactionContext is a generic implementation of
the JOTM Transaction Context. This Context is used by JOTM and by the Current
Object. It can't be propagate, it have to be transalate for each Transport
Layer Transaction Prapagation implementation
author: Guillaume Riviere (Guillaume.Riviere@inrialpes.fr) version: 1.0, 12/09/2002 |
InternalTransactionContext | public InternalTransactionContext(int t, Coordinator c, Terminator term, Xid x)(Code) | | Build a new TransactionContext (from JTA layer)
|
getControl | public Control getControl()(Code) | | Get the control associated with the transaction
|
getCoordinator | public Coordinator getCoordinator()(Code) | | Get the coordinator associated with the transaction
|
getTerminator | public Terminator getTerminator()(Code) | | Get the Terminator associated with the transaction
|
getTimeout | public int getTimeout()(Code) | | Get the timeout associated with the transaction
|
isJotmCtx | public boolean isJotmCtx()(Code) | | return true if this context was build from a JOTM's context
boolean |
setCoordinator | public void setCoordinator(Coordinator coord)(Code) | | Set the coordinator associated with the transaction
|
setNotJotmCtx | public void setNotJotmCtx()(Code) | | Set a flag in the context to indicate as coming from another Vendor
boolean |
setTerminator | public void setTerminator(Terminator term)(Code) | | Set the termiantor associated with the transaction
|
|
|