| | |
| | | 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; |
| | |
| | | // 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; |
| | | |
| | |
| | | isRunning = false; |
| | | shuttingDown = false; |
| | | serverErrorResultCode = ResultCode.OTHER; |
| | | |
| | | operatingSystem = OperatingSystem.forName(System.getProperty("os.name")); |
| | | } |
| | | |
| | | |
| | |
| | | |
| | | |
| | | /** |
| | | * 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. |
| | | * |