|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.alfresco.repo.transaction.TransactionListenerAdapter
org.alfresco.repo.transfer.TransferCommitTransactionListener
public class TransferCommitTransactionListener
Constructor Summary | |
---|---|
TransferCommitTransactionListener(java.lang.String transferId,
TransferReceiver receiver)
|
Method Summary | |
---|---|
void |
afterCommit()
Invoked after transaction commit. |
void |
afterRollback()
Invoked after transaction rollback. |
Methods inherited from class org.alfresco.repo.transaction.TransactionListenerAdapter |
---|
beforeCommit, beforeCompletion, flush |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public TransferCommitTransactionListener(java.lang.String transferId, TransferReceiver receiver)
Method Detail |
---|
public void afterCommit()
TransactionListenerAdapter
Any exceptions generated here will cause the transaction to rollback.
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 TransactionListener
afterCommit
in class TransactionListenerAdapter
public void afterRollback()
TransactionListenerAdapter
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 TransactionListener
afterRollback
in class TransactionListenerAdapter
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |