com.atomikos.icatch
Interface Synchronization

All Superinterfaces:
Serializable
All Known Implementing Classes:
ExclusiveExternalXAPooledConnectionImp, TransactionScopedAddressMapEntry

public interface Synchronization
extends Serializable

A synchronization inferface for transaction termination callbacks. Instances are volatile, i.e. not recovered after a crash/restart.


Method Summary
 void afterCompletion(Object txstate)
          Called after the overall outcome is known.
 void beforeCompletion()
          Called before prepare decision is made.
 

Method Detail

beforeCompletion

void beforeCompletion()
Called before prepare decision is made.


afterCompletion

void afterCompletion(Object txstate)
Called after the overall outcome is known.

Parameters:
txstate - The state of the coordinator after preparing. Equals either null ( readonly ), TxState.COMMITTING or TxState.ABORTING.


Copyright © 2012. All Rights Reserved.