public class HttpEndpointConfigManager extends Object implements org.forgerock.opendj.config.server.ConfigurationChangeListener<org.forgerock.opendj.server.config.server.HttpEndpointCfg>, org.forgerock.opendj.config.server.ConfigurationAddListener<org.forgerock.opendj.server.config.server.HttpEndpointCfg>, org.forgerock.opendj.config.server.ConfigurationDeleteListener<org.forgerock.opendj.server.config.server.HttpEndpointCfg>
Constructor and Description |
---|
HttpEndpointConfigManager(ServerContext serverContext)
Creates a new instance of this HTTP endpoint config manager.
|
Modifier and Type | Method and Description |
---|---|
org.forgerock.opendj.config.server.ConfigChangeResult |
applyConfigurationAdd(org.forgerock.opendj.server.config.server.HttpEndpointCfg configuration) |
org.forgerock.opendj.config.server.ConfigChangeResult |
applyConfigurationChange(org.forgerock.opendj.server.config.server.HttpEndpointCfg configuration) |
org.forgerock.opendj.config.server.ConfigChangeResult |
applyConfigurationDelete(org.forgerock.opendj.server.config.server.HttpEndpointCfg configuration) |
boolean |
isConfigurationAddAcceptable(org.forgerock.opendj.server.config.server.HttpEndpointCfg configuration,
List<LocalizableMessage> unacceptableReasons) |
boolean |
isConfigurationChangeAcceptable(org.forgerock.opendj.server.config.server.HttpEndpointCfg configuration,
List<LocalizableMessage> unacceptableReasons) |
boolean |
isConfigurationDeleteAcceptable(org.forgerock.opendj.server.config.server.HttpEndpointCfg configuration,
List<LocalizableMessage> unacceptableReasons) |
void |
registerTo(org.forgerock.opendj.server.config.server.RootCfg rootConfiguration)
Initializes all HTTP endpoints currently defined in the Directory Server
configuration.
|
public HttpEndpointConfigManager(ServerContext serverContext)
serverContext
- The server context.public void registerTo(org.forgerock.opendj.server.config.server.RootCfg rootConfiguration) throws org.forgerock.opendj.config.server.ConfigException
rootConfiguration
- The root configuration containing the HttpEndpoint
configurations.org.forgerock.opendj.config.server.ConfigException
- If a configuration problem causes the HttpEndpoint
initialization process to fail.public boolean isConfigurationAddAcceptable(org.forgerock.opendj.server.config.server.HttpEndpointCfg configuration, List<LocalizableMessage> unacceptableReasons)
isConfigurationAddAcceptable
in interface org.forgerock.opendj.config.server.ConfigurationAddListener<org.forgerock.opendj.server.config.server.HttpEndpointCfg>
public org.forgerock.opendj.config.server.ConfigChangeResult applyConfigurationAdd(org.forgerock.opendj.server.config.server.HttpEndpointCfg configuration)
applyConfigurationAdd
in interface org.forgerock.opendj.config.server.ConfigurationAddListener<org.forgerock.opendj.server.config.server.HttpEndpointCfg>
public boolean isConfigurationDeleteAcceptable(org.forgerock.opendj.server.config.server.HttpEndpointCfg configuration, List<LocalizableMessage> unacceptableReasons)
isConfigurationDeleteAcceptable
in interface org.forgerock.opendj.config.server.ConfigurationDeleteListener<org.forgerock.opendj.server.config.server.HttpEndpointCfg>
public org.forgerock.opendj.config.server.ConfigChangeResult applyConfigurationDelete(org.forgerock.opendj.server.config.server.HttpEndpointCfg configuration)
applyConfigurationDelete
in interface org.forgerock.opendj.config.server.ConfigurationDeleteListener<org.forgerock.opendj.server.config.server.HttpEndpointCfg>
public boolean isConfigurationChangeAcceptable(org.forgerock.opendj.server.config.server.HttpEndpointCfg configuration, List<LocalizableMessage> unacceptableReasons)
isConfigurationChangeAcceptable
in interface org.forgerock.opendj.config.server.ConfigurationChangeListener<org.forgerock.opendj.server.config.server.HttpEndpointCfg>
public org.forgerock.opendj.config.server.ConfigChangeResult applyConfigurationChange(org.forgerock.opendj.server.config.server.HttpEndpointCfg configuration)
applyConfigurationChange
in interface org.forgerock.opendj.config.server.ConfigurationChangeListener<org.forgerock.opendj.server.config.server.HttpEndpointCfg>
Copyright © 2010-2017 ForgeRock AS. All Rights Reserved.