C
- the BackendCfg class in use with this ConfigHandler@PublicAPI(stability=VOLATILE, mayInstantiate=false, mayExtend=true, mayInvoke=true) public abstract class ConfigHandler<C extends BackendCfg> extends Backend<C>
Backend.BackendOperation
Constructor and Description |
---|
ConfigHandler() |
Modifier and Type | Method and Description |
---|---|
abstract void |
finalizeConfigHandler()
Finalizes this configuration handler so that it will release any
resources associated with it so that it will no longer be used.
|
abstract ConfigEntry |
getConfigEntry(DN entryDN)
Retrieves the requested entry from the configuration.
|
abstract ConfigEntry |
getConfigRootEntry()
Retrieves the entry that is at the root of the Directory Server
configuration.
|
abstract String |
getInstanceRoot()
Retrieves the absolute path of the Directory Server instance
root.
|
abstract String |
getServerRoot()
Retrieves the absolute path of the Directory Server install
root.
|
abstract void |
initializeConfigHandler(String configFile,
boolean checkSchema)
Bootstraps this configuration handler using the information in
the provided configuration file.
|
abstract void |
writeSuccessfulStartupConfig()
Indicates that the Directory Server has started successfully and
that the configuration handler should save a copy of the current
configuration for use as a "last known good" reference.
|
abstract void |
writeUpdatedConfig()
Writes an updated version of the Directory Server configuration
to the repository.
|
addEntry, addSubordinateBackend, closeBackend, configureBackend, createBackup, deleteEntry, entryExists, exportLDIF, finalizeBackend, getBackendID, getBackendMonitor, getBaseDNs, getEntry, getEntryCount, getNumberOfChildren, getNumberOfEntriesInBaseDN, getParentBackend, getPersistentSearches, getSubordinateBackends, getSupportedControls, getSupportedFeatures, getWritabilityMode, handlesEntry, handlesEntry, hasSubordinates, importLDIF, isConfigurationAcceptable, isIndexed, isIndexed, isPrivateBackend, openBackend, rebuildBackend, registerPersistentSearch, removeBackup, removeSubordinateBackend, renameEntry, replaceEntry, restoreBackup, search, setBackendID, setBackendMonitor, setParentBackend, setPrivateBackend, setWritabilityMode, supports, supportsControl, verifyBackend
public ConfigHandler()
public abstract void initializeConfigHandler(String configFile, boolean checkSchema) throws InitializationException
configFile
- The path to the file to use to initialize
this configuration handler.checkSchema
- Indicates whether to perform schema checking
on the configuration data.InitializationException
- If a problem occurs while
attempting to initialize this
configuration handler.public abstract void finalizeConfigHandler()
public abstract ConfigEntry getConfigRootEntry() throws org.forgerock.opendj.config.server.ConfigException
org.forgerock.opendj.config.server.ConfigException
- If a problem occurs while interacting
with the configuration.public abstract ConfigEntry getConfigEntry(DN entryDN) throws org.forgerock.opendj.config.server.ConfigException
entryDN
- The distinguished name of the configuration
entry to retrieve.org.forgerock.opendj.config.server.ConfigException
- If a problem occurs while interacting
with the configuration.public abstract String getServerRoot()
public abstract String getInstanceRoot()
public abstract void writeUpdatedConfig() throws DirectoryException
DirectoryException
- If a problem is encountered while
writing the updated configuration.@PublicAPI(stability=VOLATILE, mayInstantiate=false, mayExtend=true, mayInvoke=false) public abstract void writeSuccessfulStartupConfig()
Copyright © 2010-2016 ForgeRock AS. All Rights Reserved.