Class BindOperationRecorder
- java.lang.Object
-
- org.springframework.ldap.transaction.compensating.BindOperationRecorder
-
- All Implemented Interfaces:
CompensatingTransactionOperationRecorder
public class BindOperationRecorder extends java.lang.Object implements CompensatingTransactionOperationRecorder
ACompensatingTransactionOperationRecorder
keeping track of bind operations. CreatesBindOperationExecutor
objects inrecordOperation(Object[])
.- Since:
- 1.2
-
-
Constructor Summary
Constructors Constructor Description BindOperationRecorder(LdapOperations ldapOperations)
Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CompensatingTransactionOperationExecutor
recordOperation(java.lang.Object[] args)
Record information about the operation performed and return a correspondingCompensatingTransactionOperationExecutor
to be used if the operation would need to be rolled back.
-
-
-
Constructor Detail
-
BindOperationRecorder
public BindOperationRecorder(LdapOperations ldapOperations)
Constructor.- Parameters:
ldapOperations
-LdapOperations
to use for supplying to the corresponding rollback operation.
-
-
Method Detail
-
recordOperation
public CompensatingTransactionOperationExecutor recordOperation(java.lang.Object[] args)
Description copied from interface:CompensatingTransactionOperationRecorder
Record information about the operation performed and return a correspondingCompensatingTransactionOperationExecutor
to be used if the operation would need to be rolled back.- Specified by:
recordOperation
in interfaceCompensatingTransactionOperationRecorder
- 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.
-
-