Spring LDAP

org.springframework.transaction.compensating
Interface CompensatingTransactionOperationRecorder

All Known Implementing Classes:
BindOperationRecorder, ModifyAttributesOperationRecorder, NullOperationRecorder, RebindOperationRecorder, RenameOperationRecorder, UnbindOperationRecorder

public interface CompensatingTransactionOperationRecorder

An implementation of this interface is responsible for recording data and supplying a CompensatingTransactionOperationExecutor to be invoked for execution and compensating transaction management of the operation. Recording of an operation should not fail (throwing an Exception), but instead log the result.

Since:
1.2
Author:
Mattias Hellborg Arthursson

Method Summary
 CompensatingTransactionOperationExecutor recordOperation(Object[] args)
          Record information about the operation performed and return a corresponding CompensatingTransactionOperationExecutor to be used if the operation would need to be rolled back.
 

Method Detail

recordOperation

CompensatingTransactionOperationExecutor recordOperation(Object[] args)
Record information about the operation performed and return a corresponding CompensatingTransactionOperationExecutor to be used if the operation would need to be rolled back.

Parameters:
args - The arguments that have been sent to the operation.
Returns:
A CompensatingTransactionOperationExecutor to be used if the recorded operation should need to be rolled back.

Spring LDAP