public final class AdministrationConnector extends Object implements org.forgerock.opendj.config.server.ConfigurationChangeListener<org.forgerock.opendj.server.config.server.AdministrationConnectorCfg>
Modifier and Type | Field and Description |
---|---|
static int |
DEFAULT_ADMINISTRATION_CONNECTOR_PORT
Default Administration Connector port.
|
Constructor and Description |
---|
AdministrationConnector(ServerContext serverContext)
Creates an instance of the administration connector.
|
Modifier and Type | Method and Description |
---|---|
org.forgerock.opendj.config.server.ConfigChangeResult |
applyConfigurationChange(org.forgerock.opendj.server.config.server.AdministrationConnectorCfg configuration) |
LDAPConnectionHandler |
getConnectionHandler()
Retrieves the connection handler linked to this administration connector.
|
void |
initializeAdministrationConnector(org.forgerock.opendj.server.config.server.AdministrationConnectorCfg configuration)
Initializes this administration connector provider based on the
information in the provided administration connector
configuration.
|
boolean |
isConfigurationChangeAcceptable(org.forgerock.opendj.server.config.server.AdministrationConnectorCfg configuration,
List<LocalizableMessage> unacceptableReasons) |
public static final int DEFAULT_ADMINISTRATION_CONNECTOR_PORT
public AdministrationConnector(ServerContext serverContext)
serverContext
- The server context.public void initializeAdministrationConnector(org.forgerock.opendj.server.config.server.AdministrationConnectorCfg configuration) throws org.forgerock.opendj.config.server.ConfigException, InitializationException
configuration
- The connection handler configuration that contains the
information to use to initialize this connection
handler.ConfigException
- If an unrecoverable problem arises in the process of
performing the initialization as a result of the server
configuration.InitializationException
- If a problem occurs during initialization that is not
related to the server configuration.org.forgerock.opendj.config.server.ConfigException
public LDAPConnectionHandler getConnectionHandler()
public boolean isConfigurationChangeAcceptable(org.forgerock.opendj.server.config.server.AdministrationConnectorCfg configuration, List<LocalizableMessage> unacceptableReasons)
isConfigurationChangeAcceptable
in interface org.forgerock.opendj.config.server.ConfigurationChangeListener<org.forgerock.opendj.server.config.server.AdministrationConnectorCfg>
public org.forgerock.opendj.config.server.ConfigChangeResult applyConfigurationChange(org.forgerock.opendj.server.config.server.AdministrationConnectorCfg configuration)
applyConfigurationChange
in interface org.forgerock.opendj.config.server.ConfigurationChangeListener<org.forgerock.opendj.server.config.server.AdministrationConnectorCfg>
Copyright © 2010-2017 ForgeRock AS. All Rights Reserved.