org.alfresco.repo.action
Class AsynchronousActionExecutionQueueImpl.CallbackTransactionListener

java.lang.Object
  extended by org.alfresco.repo.transaction.TransactionListenerAdapter
      extended by org.alfresco.repo.action.AsynchronousActionExecutionQueueImpl.CallbackTransactionListener
All Implemented Interfaces:
TransactionListener
Enclosing class:
AsynchronousActionExecutionQueueImpl

public class AsynchronousActionExecutionQueueImpl.CallbackTransactionListener
extends TransactionListenerAdapter

Transaction listener used to invoke callback policies


Constructor Summary
AsynchronousActionExecutionQueueImpl.CallbackTransactionListener(Action action, org.alfresco.service.cmr.repository.NodeRef actionedUponNodeRef)
          Constructor
 
Method Summary
 void afterCommit()
          Invoked after transaction commit.
 
Methods inherited from class org.alfresco.repo.transaction.TransactionListenerAdapter
afterRollback, beforeCommit, beforeCompletion, flush
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AsynchronousActionExecutionQueueImpl.CallbackTransactionListener

public AsynchronousActionExecutionQueueImpl.CallbackTransactionListener(Action action,
                                                                        org.alfresco.service.cmr.repository.NodeRef actionedUponNodeRef)
Constructor

Parameters:
action - action
actionedUponNodeRef - actioned upon node reference
Method Detail

afterCommit

public void afterCommit()
Description copied from class: TransactionListenerAdapter
Invoked after transaction commit.

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.

Specified by:
afterCommit in interface TransactionListener
Overrides:
afterCommit in class TransactionListenerAdapter
See Also:
TransactionListenerAdapter.afterCommit()


Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.