public interface TransactionListener extends TransactionListener
AlfrescoTransactionSupport| Modifier and Type | Method and Description |
|---|---|
void |
afterCommit()
Invoked after transaction commit.
|
void |
afterRollback()
Invoked after transaction rollback.
|
void |
beforeCommit(boolean readOnly)
Called before a transaction is committed.
|
void |
beforeCompletion()
Invoked before transaction commit/rollback.
|
void |
flush()
Deprecated.
No longer supported
|
void flush()
void beforeCommit(boolean readOnly)
All transaction resources are still available.
beforeCommit in interface TransactionListenerreadOnly - true if the transaction is read-onlyvoid beforeCompletion()
beforeCommit(boolean) even if beforeCommit(boolean)
failed.
All transaction resources are still available.
beforeCompletion in interface TransactionListenervoid afterCommit()
Any exceptions generated here will only be logged and will have no effect on the state of the transaction.
Although all transaction resources are still available, this method should be used only for cleaning up resources after a commit has occured.
afterCommit in interface TransactionListenervoid afterRollback()
Any exceptions generated here will only be logged and will have no effect on the state of the transaction.
Although all transaction resources are still available, this method should be used only for cleaning up resources after a rollback has occured.
afterRollback in interface TransactionListenerCopyright © 2005–2020 Alfresco Software. All rights reserved.