ehcache

net.sf.ehcache.transaction.xa
Interface XAExecutionListener


public interface XAExecutionListener

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

Author:
Ludovic Orban

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

Copyright 2001-2015, Terracotta, Inc.