org.alfresco.repo.transaction
Interface RetryingTransactionHelper.RetryingTransactionCallback

Enclosing class:
RetryingTransactionHelper

public static interface RetryingTransactionHelper.RetryingTransactionCallback

Callback interface


Method Summary
 java.lang.Object execute()
          Perform a unit of transactional work.
 

Method Detail

execute

java.lang.Object execute()
                         throws java.lang.Throwable
Perform a unit of transactional work.

Returns:
Return the result of the unit of work
Throws:
java.lang.Throwable - This can be anything and will guarantee either a retry or a rollback


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