public class AlertHandlerConfigManager extends Object implements org.forgerock.opendj.config.server.ConfigurationChangeListener<org.forgerock.opendj.server.config.server.AlertHandlerCfg>, org.forgerock.opendj.config.server.ConfigurationAddListener<org.forgerock.opendj.server.config.server.AlertHandlerCfg>, org.forgerock.opendj.config.server.ConfigurationDeleteListener<org.forgerock.opendj.server.config.server.AlertHandlerCfg>
Constructor and Description |
---|
AlertHandlerConfigManager(ServerContext serverContext)
Creates a new instance of this alert handler config manager.
|
Modifier and Type | Method and Description |
---|---|
org.forgerock.opendj.config.server.ConfigChangeResult |
applyConfigurationAdd(org.forgerock.opendj.server.config.server.AlertHandlerCfg configuration) |
org.forgerock.opendj.config.server.ConfigChangeResult |
applyConfigurationChange(org.forgerock.opendj.server.config.server.AlertHandlerCfg configuration) |
org.forgerock.opendj.config.server.ConfigChangeResult |
applyConfigurationDelete(org.forgerock.opendj.server.config.server.AlertHandlerCfg configuration) |
void |
initializeAlertHandlers()
Initializes all alert handlers currently defined in the Directory Server
configuration.
|
boolean |
isConfigurationAddAcceptable(org.forgerock.opendj.server.config.server.AlertHandlerCfg configuration,
List<LocalizableMessage> unacceptableReasons) |
boolean |
isConfigurationChangeAcceptable(org.forgerock.opendj.server.config.server.AlertHandlerCfg configuration,
List<LocalizableMessage> unacceptableReasons) |
boolean |
isConfigurationDeleteAcceptable(org.forgerock.opendj.server.config.server.AlertHandlerCfg configuration,
List<LocalizableMessage> unacceptableReasons) |
public AlertHandlerConfigManager(ServerContext serverContext)
serverContext
- The server context.public void initializeAlertHandlers() throws org.forgerock.opendj.config.server.ConfigException, InitializationException
org.forgerock.opendj.config.server.ConfigException
- If a configuration problem causes the alert
handler initialization process to fail.InitializationException
- If a problem occurs while initializing
the alert handlers that is not related to
the server configuration.public boolean isConfigurationAddAcceptable(org.forgerock.opendj.server.config.server.AlertHandlerCfg configuration, List<LocalizableMessage> unacceptableReasons)
isConfigurationAddAcceptable
in interface org.forgerock.opendj.config.server.ConfigurationAddListener<org.forgerock.opendj.server.config.server.AlertHandlerCfg>
public org.forgerock.opendj.config.server.ConfigChangeResult applyConfigurationAdd(org.forgerock.opendj.server.config.server.AlertHandlerCfg configuration)
applyConfigurationAdd
in interface org.forgerock.opendj.config.server.ConfigurationAddListener<org.forgerock.opendj.server.config.server.AlertHandlerCfg>
public boolean isConfigurationDeleteAcceptable(org.forgerock.opendj.server.config.server.AlertHandlerCfg configuration, List<LocalizableMessage> unacceptableReasons)
isConfigurationDeleteAcceptable
in interface org.forgerock.opendj.config.server.ConfigurationDeleteListener<org.forgerock.opendj.server.config.server.AlertHandlerCfg>
public org.forgerock.opendj.config.server.ConfigChangeResult applyConfigurationDelete(org.forgerock.opendj.server.config.server.AlertHandlerCfg configuration)
applyConfigurationDelete
in interface org.forgerock.opendj.config.server.ConfigurationDeleteListener<org.forgerock.opendj.server.config.server.AlertHandlerCfg>
public boolean isConfigurationChangeAcceptable(org.forgerock.opendj.server.config.server.AlertHandlerCfg configuration, List<LocalizableMessage> unacceptableReasons)
isConfigurationChangeAcceptable
in interface org.forgerock.opendj.config.server.ConfigurationChangeListener<org.forgerock.opendj.server.config.server.AlertHandlerCfg>
public org.forgerock.opendj.config.server.ConfigChangeResult applyConfigurationChange(org.forgerock.opendj.server.config.server.AlertHandlerCfg configuration)
applyConfigurationChange
in interface org.forgerock.opendj.config.server.ConfigurationChangeListener<org.forgerock.opendj.server.config.server.AlertHandlerCfg>
Copyright © 2010-2017 ForgeRock AS. All Rights Reserved.