com.atomikos.icatch
Interface Synchronization

All Superinterfaces:
Serializable
All Known Implementing Classes:
ExclusiveExternalXAPooledConnectionImp

public interface Synchronization
extends Serializable

A synchronization inferface for tx termination callbacks.


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 © 2011. All Rights Reserved.