|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.opends.server.admin.AdministrationConnector
public final class AdministrationConnector
This class is a wrapper on top of LDAPConnectionHandler to manage the administration connector, which is an LDAPConnectionHandler with specific (limited) configuration properties.
| Field Summary | |
|---|---|
static int |
ADMIN_CERT_VALIDITY
Validity (in days) of the generated certificate. |
static int |
DEFAULT_ADMINISTRATION_CONNECTOR_PORT
Default Administration Connector port. |
| Constructor Summary | |
|---|---|
AdministrationConnector()
Create an instance of the administration connector. |
|
| Method Summary | |
|---|---|
ConfigChangeResult |
applyConfigurationChange(AdministrationConnectorCfg configuration)
Applies the configuration changes to this change listener. |
LDAPConnectionHandler |
getConnectionHandler()
Retrieves the connection handler linked to this administration connector. |
void |
initializeAdministrationConnector(AdministrationConnectorCfg configuration)
Initializes this administration connector provider based on the information in the provided administration connector configuration. |
boolean |
isConfigurationChangeAcceptable(AdministrationConnectorCfg configuration,
java.util.List<Message> unacceptableReasons)
Indicates whether the proposed change to the configuration is acceptable to this change listener. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final int DEFAULT_ADMINISTRATION_CONNECTOR_PORT
public static final int ADMIN_CERT_VALIDITY
| Constructor Detail |
|---|
public AdministrationConnector()
| Method Detail |
|---|
public void initializeAdministrationConnector(AdministrationConnectorCfg configuration)
throws 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.public LDAPConnectionHandler getConnectionHandler()
public boolean isConfigurationChangeAcceptable(AdministrationConnectorCfg configuration,
java.util.List<Message> unacceptableReasons)
isConfigurationChangeAcceptable in interface ConfigurationChangeListener<AdministrationConnectorCfg>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(AdministrationConnectorCfg configuration)
applyConfigurationChange in interface ConfigurationChangeListener<AdministrationConnectorCfg>configuration - The new configuration containing the changes.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||