Class ConfluenceAOSynchronisationManager

  • All Implemented Interfaces:
    com.atlassian.activeobjects.spi.TransactionSynchronisationManager

    public class ConfluenceAOSynchronisationManager
    extends Object
    implements com.atlassian.activeobjects.spi.TransactionSynchronisationManager
    An implementation that mostly delegates to confluence core SynchronisationManager. Handles the adaption between Runnables and springs TransactionSynchronization.
    • Constructor Detail

      • ConfluenceAOSynchronisationManager

        public ConfluenceAOSynchronisationManager​(SynchronizationManager synchManager)
    • Method Detail

      • runOnRollBack

        public boolean runOnRollBack​(Runnable callback)
        Specified by:
        runOnRollBack in interface com.atlassian.activeobjects.spi.TransactionSynchronisationManager
      • runOnSuccessfulCommit

        public boolean runOnSuccessfulCommit​(Runnable callback)
        Specified by:
        runOnSuccessfulCommit in interface com.atlassian.activeobjects.spi.TransactionSynchronisationManager
      • isActiveSynchronisedTransaction

        public boolean isActiveSynchronisedTransaction()
        Specified by:
        isActiveSynchronisedTransaction in interface com.atlassian.activeobjects.spi.TransactionSynchronisationManager