public class SynchronizationAdapter extends AbstractEnlistmentAdapter implements Synchronization
Synchronization implementation for integrating with the TM.
See ISPN-888 for more information on this.config| Constructor and Description |
|---|
SynchronizationAdapter(LocalTransaction localTransaction,
TransactionCoordinator txCoordinator,
CommandsFactory commandsFactory,
RpcManager rpcManager,
TransactionTable transactionTable,
ClusteringDependentLogic clusteringLogic,
Configuration configuration) |
| Modifier and Type | Method and Description |
|---|---|
void |
afterCompletion(int status)
This method is invoked after the transaction has committed or
rolled back.
|
void |
beforeCompletion()
This method is invoked before the start of the commit
process.
|
boolean |
equals(Object o) |
String |
toString() |
hashCode, releaseLocksForCompletedTransactionpublic SynchronizationAdapter(LocalTransaction localTransaction, TransactionCoordinator txCoordinator, CommandsFactory commandsFactory, RpcManager rpcManager, TransactionTable transactionTable, ClusteringDependentLogic clusteringLogic, Configuration configuration)
public void beforeCompletion()
SynchronizationbeforeCompletion in interface Synchronizationpublic void afterCompletion(int status)
SynchronizationafterCompletion in interface Synchronizationstatus - The status of the completed transaction.Copyright © 2012 JBoss by Red Hat. All Rights Reserved.