public class BindOperationRecorder extends Object implements CompensatingTransactionOperationRecorder
CompensatingTransactionOperationRecorder keeping track of bind
operations. Creates BindOperationExecutor objects in
recordOperation(Object[]).| Constructor and Description |
|---|
BindOperationRecorder(LdapOperations ldapOperations)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
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. |
public BindOperationRecorder(LdapOperations ldapOperations)
ldapOperations - LdapOperations to use for supplying to the
corresponding rollback operation.public CompensatingTransactionOperationExecutor recordOperation(Object[] args)
CompensatingTransactionOperationRecorderCompensatingTransactionOperationExecutor to be used
if the operation would need to be rolled back.recordOperation in interface CompensatingTransactionOperationRecorderargs - The arguments that have been sent to the operation.CompensatingTransactionOperationExecutor to be used if
the recorded operation should need to be rolled back.