|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.springframework.ldap.transaction.compensating.UnbindOperationRecorder
public class UnbindOperationRecorder
CompensatingTransactionOperationRecorder
to keep track of unbind
operations. This class creates UnbindOperationExecutor
objects for
rollback.
Constructor Summary | |
---|---|
UnbindOperationRecorder(LdapOperations ldapOperations,
TempEntryRenamingStrategy renamingStrategy)
Constructor. |
Method Summary | |
---|---|
TempEntryRenamingStrategy |
getRenamingStrategy()
|
CompensatingTransactionOperationExecutor |
recordOperation(java.lang.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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public UnbindOperationRecorder(LdapOperations ldapOperations, TempEntryRenamingStrategy renamingStrategy)
ldapOperations
- LdapOperations
to use for getting the data prior to
unbinding the entry and to supply to the
UnbindOperationExecutor
for rollback.renamingStrategy
- the TempEntryRenamingStrategy
to use when generating
DNs for temporary entries.Method Detail |
---|
public CompensatingTransactionOperationExecutor recordOperation(java.lang.Object[] args)
CompensatingTransactionOperationRecorder
CompensatingTransactionOperationExecutor
to be used
if the operation would need to be rolled back.
recordOperation
in interface CompensatingTransactionOperationRecorder
args
- The arguments that have been sent to the operation.
CompensatingTransactionOperationExecutor
to be used if
the recorded operation should need to be rolled back.public TempEntryRenamingStrategy getRenamingStrategy()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |