Package org.alfresco.repo.transfer
Class TransferCommitTransactionListener
- java.lang.Object
-
- org.alfresco.repo.transaction.TransactionListenerAdapter
-
- org.alfresco.repo.transfer.TransferCommitTransactionListener
-
- All Implemented Interfaces:
TransactionListener,org.alfresco.util.transaction.TransactionListener
public class TransferCommitTransactionListener extends TransactionListenerAdapter
-
-
Constructor Summary
Constructors Constructor Description TransferCommitTransactionListener(java.lang.String transferId, TransferReceiver receiver)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidafterCommit()Invoked after transaction commit.voidafterRollback()Invoked after transaction rollback.-
Methods inherited from class org.alfresco.repo.transaction.TransactionListenerAdapter
beforeCommit, beforeCompletion, flush
-
-
-
-
Constructor Detail
-
TransferCommitTransactionListener
public TransferCommitTransactionListener(java.lang.String transferId, TransferReceiver receiver)
-
-
Method Detail
-
afterCommit
public void afterCommit()
Description copied from class:TransactionListenerAdapterInvoked after transaction commit.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.
- Specified by:
afterCommitin interfaceTransactionListener- Specified by:
afterCommitin interfaceorg.alfresco.util.transaction.TransactionListener- Overrides:
afterCommitin classTransactionListenerAdapter
-
afterRollback
public void afterRollback()
Description copied from class:TransactionListenerAdapterInvoked after transaction rollback.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.
- Specified by:
afterRollbackin interfaceTransactionListener- Specified by:
afterRollbackin interfaceorg.alfresco.util.transaction.TransactionListener- Overrides:
afterRollbackin classTransactionListenerAdapter
-
-