ehcache

net.sf.ehcache.transaction.xa
Interface TwoPcExecutionListener


public interface TwoPcExecutionListener

Listener interface which provides callback hooks for listening to the 2PC lifecycle

Author:
lorban

Method Summary
 void afterCommitOrRollback(EhcacheXAResource xaResource)
          Called when the resource committed or rolled back
 void beforePrepare(EhcacheXAResource xaResource)
          Called when the resource is about to prepare
 

Method Detail

beforePrepare

void beforePrepare(EhcacheXAResource xaResource)
Called when the resource is about to prepare

Parameters:
xaResource - the XAResource about to prepare

afterCommitOrRollback

void afterCommitOrRollback(EhcacheXAResource xaResource)
Called when the resource committed or rolled back

Parameters:
xaResource - the XAResource which committed or rolled back

ehcache

true