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 |
---|---|
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 ConfigException, InitializationException
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)
ConfigurationChangeListener
isConfigurationChangeAcceptable
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 ConfigChangeResult applyConfigurationChange(GlobalCfg configuration)
ConfigurationChangeListener
applyConfigurationChange
in interface ConfigurationChangeListener<GlobalCfg>
configuration
- The new configuration containing the changes.Copyright 2010-2017 ForgeRock AS.