| | |
| | | // The schema configuration manager for the Directory Server. |
| | | private SchemaConfigManager schemaConfigManager; |
| | | |
| | | // The debug logger that will be used during the Directory Server startup. |
| | | private TextDebugLogPublisher startupDebugLogPublisher; |
| | | |
| | | // The error logger that will be used during the Directory Server startup. |
| | | private TextErrorLogPublisher startupErrorLogPublisher; |
| | | |
| | | // The set of disabled privileges. |
| | | private Set<Privilege> disabledPrivileges; |
| | | |
| | |
| | | shuttingDown = false; |
| | | lockdownMode = false; |
| | | serverErrorResultCode = ResultCode.OTHER; |
| | | startupDebugLogPublisher = null; |
| | | startupErrorLogPublisher = null; |
| | | |
| | | operatingSystem = OperatingSystem.forName(System.getProperty("os.name")); |
| | | } |
| | |
| | | sendAlertNotification(this, ALERT_TYPE_SERVER_STARTED, message); |
| | | |
| | | |
| | | if (startupDebugLogPublisher != null) |
| | | for(DebugLogPublisher startupDebugLogPublisher : |
| | | environmentConfig.getDebugLoggers()) |
| | | { |
| | | removeDebugLogPublisher(startupDebugLogPublisher); |
| | | } |
| | | |
| | | if (startupErrorLogPublisher != null) |
| | | for(ErrorLogPublisher startupErrorLogPublisher : |
| | | environmentConfig.getErrorLoggers()) |
| | | { |
| | | removeErrorLogPublisher(startupErrorLogPublisher); |
| | | } |
| | |
| | | DirectoryServer directoryServer = DirectoryServer.getInstance(); |
| | | try |
| | | { |
| | | directoryServer.startupErrorLogPublisher = startupErrorLogPublisher; |
| | | directoryServer.startupDebugLogPublisher = startupDebugLogPublisher; |
| | | |
| | | directoryServer.setEnvironmentConfig(environmentConfig); |
| | | directoryServer.bootstrapServer(); |
| | | directoryServer.initializeConfiguration(configClass.getValue(), |