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

neil_a_wilson
28.02.2006 b8b6ead66c08c4a50192a0501a5d28521c005f4a
opends/src/server/org/opends/server/core/DirectoryServer.java
@@ -132,6 +132,7 @@
import org.opends.server.types.NameForm;
import org.opends.server.types.ObjectClass;
import org.opends.server.types.ObjectClassType;
import org.opends.server.types.OperatingSystem;
import org.opends.server.types.RDN;
import org.opends.server.types.ResultCode;
import org.opends.server.types.WritabilityMode;
@@ -428,6 +429,9 @@
  // The monitor config manager for the Directory Server.
  private MonitorConfigManager monitorConfigManager;
  // The operating system on which the server is running.
  private OperatingSystem operatingSystem;
  // The configuration handler used to manage the password generators.
  private PasswordGeneratorConfigManager passwordGeneratorConfigManager;
@@ -515,6 +519,8 @@
    isRunning             = false;
    shuttingDown          = false;
    serverErrorResultCode = ResultCode.OTHER;
    operatingSystem = OperatingSystem.forName(System.getProperty("os.name"));
  }
@@ -2107,6 +2113,20 @@
  /**
   * Retrieves the operating system on which the Directory Server is running.
   *
   * @return  The operating system on which the Directory Server is running.
   */
  public static OperatingSystem getOperatingSystem()
  {
    assert debugEnter(CLASS_NAME, "getOperatingSystem");
    return directoryServer.operatingSystem;
  }
  /**
   * Retrieves the thread group that should be used by all threads associated
   * with the Directory Server.
   *