public class TransactionCoordinator extends Object
TransactionManager.
Integrates with the TM through either TransactionXaAdapter or
through SynchronizationAdapter.| Constructor and Description |
|---|
TransactionCoordinator() |
| Modifier and Type | Method and Description |
|---|---|
void |
commit(LocalTransaction localTransaction,
boolean isOnePhase) |
void |
init(CommandsFactory commandsFactory,
InvocationContextContainer icc,
InterceptorChain invoker,
TransactionTable txTable,
Configuration configuration) |
int |
prepare(LocalTransaction localTransaction) |
int |
prepare(LocalTransaction localTransaction,
boolean replayEntryWrapping) |
void |
rollback(LocalTransaction localTransaction) |
void |
start() |
public void init(CommandsFactory commandsFactory, InvocationContextContainer icc, InterceptorChain invoker, TransactionTable txTable, Configuration configuration)
public void start()
public final int prepare(LocalTransaction localTransaction) throws XAException
XAExceptionpublic final int prepare(LocalTransaction localTransaction, boolean replayEntryWrapping) throws XAException
XAExceptionpublic void commit(LocalTransaction localTransaction, boolean isOnePhase) throws XAException
XAExceptionpublic void rollback(LocalTransaction localTransaction) throws XAException
XAExceptionCopyright © 2012 JBoss by Red Hat. All Rights Reserved.