Interface SynchronizationManager

All Known Subinterfaces:
SynchronizationManagerInternal
All Known Implementing Classes:
ConfluenceSynchronizationManager

public interface SynchronizationManager
Manages transaction synchronizations: a list of actions to be done when the transaction completes on the current thread.
  • Method Details

    • runOnSuccessfulCommit

      void runOnSuccessfulCommit(Runnable task)
      Register a new task to be run on successful transaction commit. If transaction is not active, the task is run immediately.
      See Also:
    • isTransactionActive

      boolean isTransactionActive()
      Returns:
      true if there is an active Spring transaction which accepts synchronizations, otherwise false.