public class RenameOperationRecorder extends Object implements CompensatingTransactionOperationRecorder
CompensatingTransactionOperationRecorder for keeping track of
rename operations. Creates RenameOperationExecutor objects for
rolling back.| Constructor and Description |
|---|
RenameOperationRecorder(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 RenameOperationRecorder(LdapOperations ldapOperations)
ldapOperations - The LdapOperations to supply to the created
RebindOperationExecutor objects.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.