Package org.opends.server.backends
Class ConfigurationBackend.ConfigurationBackendCfg
java.lang.Object
org.opends.server.backends.ConfigurationBackend.ConfigurationBackendCfg
- All Implemented Interfaces:
Configuration,BackendCfg,LocalBackendCfg
- Enclosing class:
- ConfigurationBackend
public final class ConfigurationBackend.ConfigurationBackendCfg
extends Object
implements LocalBackendCfg
Dummy
BackendCfg implementation for the ConfigurationBackend. No config is needed for this
specific backend, but this class is required to behave like other backends during initialization.-
Method Summary
Modifier and TypeMethodDescriptionvoidRegister to be notified when this Backend is changed.voidRegister to be notified when this Local Backend is changed.Class<? extends LocalBackendCfg>Gets the configuration class associated with this Local Backend.dn()Gets the DN of the LDAP entry associated with this configuration.Gets the "backend-id" property.Gets the "java-class" property.Gets the "writability-mode" property.booleanGets the "enabled" property.voidDeregister an existing Backend configuration change listener.voidDeregister an existing Local Backend configuration change listener.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.forgerock.opendj.config.Configuration
name
-
Method Details
-
dn
Description copied from interface:ConfigurationGets the DN of the LDAP entry associated with this configuration.- Specified by:
dnin interfaceConfiguration- Returns:
- The DN of the LDAP entry associated with this configuration.
-
configurationClass
Description copied from interface:LocalBackendCfgGets the configuration class associated with this Local Backend.- Specified by:
configurationClassin interfaceBackendCfg- Specified by:
configurationClassin interfaceConfiguration- Specified by:
configurationClassin interfaceLocalBackendCfg- Returns:
- Returns the configuration class associated with this Local Backend.
-
getBackendId
Description copied from interface:BackendCfgGets the "backend-id" property.Specifies a name to identify the associated backend.
The name must be unique among all backends in the server. The backend ID may not be altered after the backend is created in the server.
- Specified by:
getBackendIdin interfaceBackendCfg- Returns:
- Returns the value of the "backend-id" property.
-
isEnabled
public boolean isEnabled()Description copied from interface:BackendCfgGets the "enabled" property.Indicates whether the backend is enabled in the server.
If a backend is not enabled, then its contents are not accessible when processing operations.
- Specified by:
isEnabledin interfaceBackendCfg- Returns:
- Returns the value of the "enabled" property.
-
getJavaClass
Description copied from interface:BackendCfgGets the "java-class" property.Specifies the fully-qualified name of the Java class that provides the backend implementation.
- Specified by:
getJavaClassin interfaceBackendCfg- Returns:
- Returns the value of the "java-class" property.
-
getWritabilityMode
Description copied from interface:LocalBackendCfgGets the "writability-mode" property.Specifies the behavior that the backend should use when processing write operations.
- Specified by:
getWritabilityModein interfaceLocalBackendCfg- Returns:
- Returns the value of the "writability-mode" property.
-
addChangeListener
Description copied from interface:BackendCfgRegister to be notified when this Backend is changed.- Specified by:
addChangeListenerin interfaceBackendCfg- Parameters:
listener- The Backend configuration change listener.
-
removeChangeListener
Description copied from interface:BackendCfgDeregister an existing Backend configuration change listener.- Specified by:
removeChangeListenerin interfaceBackendCfg- Parameters:
listener- The Backend configuration change listener.
-
addLocalChangeListener
Description copied from interface:LocalBackendCfgRegister to be notified when this Local Backend is changed.- Specified by:
addLocalChangeListenerin interfaceLocalBackendCfg- Parameters:
listener- The Local Backend configuration change listener.
-
removeLocalChangeListener
Description copied from interface:LocalBackendCfgDeregister an existing Local Backend configuration change listener.- Specified by:
removeLocalChangeListenerin interfaceLocalBackendCfg- Parameters:
listener- The Local Backend configuration change listener.
-