Class RebindOperationExecutor

    • Constructor Summary

      Constructors 
      Constructor Description
      RebindOperationExecutor​(LdapOperations ldapOperations, javax.naming.Name originalDn, javax.naming.Name temporaryDn, java.lang.Object originalObject, javax.naming.directory.Attributes originalAttributes)
      Constructor.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void commit()
      Commit the operation.
      void performOperation()
      Perform the operation.
      void rollback()
      Rollback the operation, restoring state of the target as it was before the operation was performed using the information supplied on creation of this instance.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • RebindOperationExecutor

        public RebindOperationExecutor​(LdapOperations ldapOperations,
                                       javax.naming.Name originalDn,
                                       javax.naming.Name temporaryDn,
                                       java.lang.Object originalObject,
                                       javax.naming.directory.Attributes originalAttributes)
        Constructor.
        Parameters:
        ldapOperations - the LdapOperations to use to perform the rollback.
        originalDn - The original DN of the entry to bind.
        temporaryDn - The temporary DN of the entry.
        originalObject - Original 'object' parameter sent to the rebind operation.
        originalAttributes - Original 'attributes' parameter sent to the rebind operation