public class CoreConfigManager extends Object implements ConfigurationChangeListener<GlobalCfg>
| Constructor and Description |
|---|
CoreConfigManager(ServerContext serverContext)
Creates a new instance of this core config manager.
|
| Modifier and Type | Method and Description |
|---|---|
org.forgerock.opendj.config.server.ConfigChangeResult |
applyConfigurationChange(GlobalCfg configuration)
Applies the configuration changes to this change listener.
|
void |
initializeCoreConfig()
Initializes the Directory Server's core configuration.
|
boolean |
isConfigurationChangeAcceptable(GlobalCfg configuration,
List<LocalizableMessage> unacceptableReasons)
Indicates whether the proposed change to the configuration is
acceptable to this change listener.
|
public CoreConfigManager(ServerContext serverContext)
serverContext - The server context.public void initializeCoreConfig() throws org.forgerock.opendj.config.server.ConfigException, InitializationException
org.forgerock.opendj.config.server.ConfigException - If a configuration problem causes the identity mapper
initialization process to fail.InitializationException - If a problem occurs while initializing the identity mappers that
is not related to the server configuration.public boolean isConfigurationChangeAcceptable(GlobalCfg configuration, List<LocalizableMessage> unacceptableReasons)
ConfigurationChangeListenerisConfigurationChangeAcceptable in interface ConfigurationChangeListener<GlobalCfg>configuration - The new configuration containing the changes.unacceptableReasons - A list that can be used to hold messages about why the
provided configuration is not acceptable.true if the proposed change is
acceptable, or false if it is not.public org.forgerock.opendj.config.server.ConfigChangeResult applyConfigurationChange(GlobalCfg configuration)
ConfigurationChangeListenerapplyConfigurationChange in interface ConfigurationChangeListener<GlobalCfg>configuration - The new configuration containing the changes.Copyright © 2010-2018 ForgeRock AS. All Rights Reserved.