Package | Description |
---|---|
org.objectweb.jotm |
Modifier and Type | Class and Description |
---|---|
class |
InternalTransactionContext
Classe
InternalTransactionContext is a generic implementation of
the JOTM Transaction Context. |
Modifier and Type | Method and Description |
---|---|
TransactionContext |
Current.getPropagationContext(boolean hold)
Get the transaction context associated with the current thread or null
if the thread is not involved in a transaction.
|
TransactionContext |
TransactionImpl.getPropagationContext(boolean hold)
Return associated PropagationContext
Used for implicit Context propagation.
|
Modifier and Type | Method and Description |
---|---|
Control |
TransactionFactory.recreate(TransactionContext ctx) |
Control |
TransactionFactoryImpl.recreate(TransactionContext ctx)
Recreate locally a Control object for an existing transaction.
|
void |
Current.setPropagationContext(TransactionContext pctx,
boolean isReply)
Associate to the current thread a transaction represented by its
transaction context.
|
void |
TransactionImpl.updatePropagationContext(TransactionContext pctx)
update the propagation context
We should be inside the reply of a request involved in a tx here!
|
Constructor and Description |
---|
TransactionImpl(TransactionContext pctx)
New Transaction for this thread (setPropagationContext)
|