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
-
Constructor Summary
ConstructorsConstructorDescriptionTransferCommitTransactionListener(String transferId, TransferReceiver receiver) -
Method Summary
Modifier and TypeMethodDescriptionvoidInvoked after transaction commit.voidInvoked after transaction rollback.Methods inherited from class org.alfresco.repo.transaction.TransactionListenerAdapter
beforeCommit, beforeCompletion, flushMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.alfresco.util.transaction.TransactionListener
getCustomOrder
-
Constructor Details
-
TransferCommitTransactionListener
-
-
Method Details
-
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
-