public class ConfluenceAOSynchronisationManager extends Object implements TransactionSynchronisationManager
| Constructor and Description |
|---|
ConfluenceAOSynchronisationManager(com.atlassian.confluence.core.SynchronizationManager synchManager) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
isActiveSynchronisedTransaction() |
boolean |
runOnRollBack(Runnable callback)
Add an action to run if the encompassing transaction is rolled back
|
boolean |
runOnSuccessfulCommit(Runnable callback)
Add an action to run if the encompassing transaction is successfully committed
|
public ConfluenceAOSynchronisationManager(com.atlassian.confluence.core.SynchronizationManager synchManager)
public boolean runOnRollBack(Runnable callback)
TransactionSynchronisationManagerrunOnRollBack in interface TransactionSynchronisationManagercallback - - the action to runpublic boolean runOnSuccessfulCommit(Runnable callback)
TransactionSynchronisationManagerrunOnSuccessfulCommit in interface TransactionSynchronisationManagercallback - - the action to runpublic boolean isActiveSynchronisedTransaction()
isActiveSynchronisedTransaction in interface TransactionSynchronisationManagerCopyright © 2018 Atlassian. All rights reserved.