mirror of https://github.com/OpenIdentityPlatform/OpenDJ.git

neil_a_wilson
17.24.2007 66a356e0256bbeb2c6b4034c4d322a61100850d2
opendj-sdk/opends/src/server/org/opends/server/util/EmbeddedUtils.java
@@ -119,5 +119,20 @@
  {
    DirectoryServer.restart(className, reason, config);
  }
  /**
   * Sets up a number of internal server data structures to ensure that they are
   * properly initialized for use.  This is necessary if server libraries are
   * going to be used without the server running (e.g., to facilitate use in an
   * LDAP client API, for DN processing, etc.).  This will have no effect if the
   * server has already been initialized for client use.
   */
  public static void initializeForClientUse()
  {
    DirectoryServer directoryServer = DirectoryServer.getInstance();
    directoryServer.bootstrapClient();
  }
}