public class TransferCommitTransactionListener extends TransactionListenerAdapter
Constructor and Description |
---|
TransferCommitTransactionListener(String transferId,
TransferReceiver receiver) |
Modifier and Type | Method and Description |
---|---|
void |
afterCommit()
Invoked after transaction commit.
|
void |
afterRollback()
Invoked after transaction rollback.
|
beforeCommit, beforeCompletion, flush
public TransferCommitTransactionListener(String transferId, TransferReceiver receiver)
public void afterCommit()
TransactionListenerAdapter
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 org.alfresco.util.transaction.TransactionListener
afterCommit
in class TransactionListenerAdapter
public void afterRollback()
TransactionListenerAdapter
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 org.alfresco.util.transaction.TransactionListener
afterRollback
in class TransactionListenerAdapter
Copyright © 2005–2017 Alfresco Software. All rights reserved.