Class UnbindOperationExecutor

java.lang.Object
org.springframework.ldap.transaction.compensating.UnbindOperationExecutor
All Implemented Interfaces:
CompensatingTransactionOperationExecutor

public class UnbindOperationExecutor extends Object implements CompensatingTransactionOperationExecutor
A CompensatingTransactionOperationExecutor to manage an unbind operation. The methods in this class do not behave as expected, since it might be impossible to retrieve all the original attributes from the entry. Instead this class performs a rename in performOperation(), a negating rename in rollback(), and commit() unbinds the entry from its temporary location.
Since:
1.2
  • Constructor Details

    • UnbindOperationExecutor

      public UnbindOperationExecutor(LdapOperations ldapOperations, Name originalDn, Name temporaryDn)
      Constructor.
      Parameters:
      ldapOperations - The LdapOperations to use for performing the rollback operation.
      originalDn - The original DN of the entry to be removed.
      temporaryDn - Temporary DN of the entry to be removed; this is where the entry is temporarily stored during the transaction.
  • Method Details