Interface XAExecutionListener


  • public interface XAExecutionListener
    Listener interface which provides callback hooks for listening to the 2PC lifecycle
    Author:
    Ludovic Orban
    • 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