Class RenameOperationRecorder
java.lang.Object
org.springframework.ldap.transaction.compensating.RenameOperationRecorder
- All Implemented Interfaces:
CompensatingTransactionOperationRecorder
public class RenameOperationRecorder
extends Object
implements CompensatingTransactionOperationRecorder
A
CompensatingTransactionOperationRecorder for keeping track of
rename operations. Creates RenameOperationExecutor objects for
rolling back.- Since:
- 1.2
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionrecordOperation(Object[] args) Record information about the operation performed and return a correspondingCompensatingTransactionOperationExecutorto be used if the operation would need to be rolled back.
-
Constructor Details
-
RenameOperationRecorder
Constructor.- Parameters:
ldapOperations- TheLdapOperationsto supply to the createdRebindOperationExecutorobjects.
-
-
Method Details
-
recordOperation
Description copied from interface:CompensatingTransactionOperationRecorderRecord information about the operation performed and return a correspondingCompensatingTransactionOperationExecutorto be used if the operation would need to be rolled back.- Specified by:
recordOperationin interfaceCompensatingTransactionOperationRecorder- Parameters:
args- The arguments that have been sent to the operation.- Returns:
- A
CompensatingTransactionOperationExecutorto be used if the recorded operation should need to be rolled back.
-