Package net.sf.ehcache.transaction.xa
Interface XAExecutionListener
-
public interface XAExecutionListenerListener interface which provides callback hooks for listening to the 2PC lifecycle- Author:
- Ludovic Orban
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidafterCommitOrRollback(EhcacheXAResource xaResource)Called when the resource committed or rolled backvoidbeforePrepare(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
-
-