Class BindOperationExecutor

    • Constructor Summary

      Constructors 
      Constructor Description
      BindOperationExecutor​(LdapOperations ldapOperations, javax.naming.Name dn, 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

      • BindOperationExecutor

        public BindOperationExecutor​(LdapOperations ldapOperations,
                                     javax.naming.Name dn,
                                     java.lang.Object originalObject,
                                     javax.naming.directory.Attributes originalAttributes)
        Constructor.
        Parameters:
        ldapOperations - LdapOperations to use for performing the rollback operation.
        dn - DN of the entry to be unbound.
        originalObject - original value sent to the 'object' parameter of the bind operation.
        originalAttributes - original value sent to the 'attributes' parameter of the bind operation.