public class TransferCommitTransactionListener extends TransactionListenerAdapter
| Constructor and Description |
|---|
TransferCommitTransactionListener(java.lang.String transferId,
TransferReceiver receiver) |
| Modifier and Type | Method and Description |
|---|---|
void |
afterCommit()
Invoked after transaction commit.
|
void |
afterRollback()
Invoked after transaction rollback.
|
beforeCommit, beforeCompletion, flushpublic TransferCommitTransactionListener(java.lang.String transferId,
TransferReceiver receiver)
public void afterCommit()
TransactionListenerAdapterAny 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 TransactionListenerafterCommit in class TransactionListenerAdapterpublic void afterRollback()
TransactionListenerAdapterAny 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 TransactionListenerafterRollback in class TransactionListenerAdapterCopyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.