Class ShortLifeAsync

java.lang.Object
org.forgerock.opendj.examples.ShortLifeAsync

public final class ShortLifeAsync extends Object
A command-line client that creates, updates, renames, and deletes a short-lived entry in order to demonstrate LDAP write operations using the asynchronous APIs.
The client takes as arguments the host and port for the directory server, and expects to find the entries and access control instructions as defined in Example.ldif.
  • host - host name of the directory server
  • port - port number of the directory server
All arguments are required.
  • Method Details

    • main

      public static void main(String[] args)
      Adds, modifies, renames, and deletes an entry.
      Parameters:
      args - The command line arguments: host, port