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