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, releaseLocksForCompletedTransaction
public SynchronizationAdapter(LocalTransaction localTransaction, TransactionCoordinator txCoordinator, CommandsFactory commandsFactory, RpcManager rpcManager, TransactionTable transactionTable, ClusteringDependentLogic clusteringLogic, Configuration configuration)
public void beforeCompletion()
Synchronization
beforeCompletion
in interface Synchronization
public void afterCompletion(int status)
Synchronization
afterCompletion
in interface Synchronization
status
- The status of the completed transaction.Copyright © 2012 JBoss by Red Hat. All Rights Reserved.