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 TypeMethodDescriptionvoid
Register to be notified when this Backend is changed.void
Register 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.boolean
Gets the "enabled" property.void
Deregister an existing Backend configuration change listener.void
Deregister an existing Local Backend configuration change listener.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.forgerock.opendj.config.Configuration
name
-
Method Details
-
dn
Description copied from interface:Configuration
Gets the DN of the LDAP entry associated with this configuration.- Specified by:
dn
in interfaceConfiguration
- Returns:
- The DN of the LDAP entry associated with this configuration.
-
configurationClass
Description copied from interface:LocalBackendCfg
Gets the configuration class associated with this Local Backend.- Specified by:
configurationClass
in interfaceBackendCfg
- Specified by:
configurationClass
in interfaceConfiguration
- Specified by:
configurationClass
in interfaceLocalBackendCfg
- Returns:
- Returns the configuration class associated with this Local Backend.
-
getBackendId
Description copied from interface:BackendCfg
Gets 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:
getBackendId
in interfaceBackendCfg
- Returns:
- Returns the value of the "backend-id" property.
-
isEnabled
public boolean isEnabled()Description copied from interface:BackendCfg
Gets 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:
isEnabled
in interfaceBackendCfg
- Returns:
- Returns the value of the "enabled" property.
-
getJavaClass
Description copied from interface:BackendCfg
Gets the "java-class" property.Specifies the fully-qualified name of the Java class that provides the backend implementation.
- Specified by:
getJavaClass
in interfaceBackendCfg
- Returns:
- Returns the value of the "java-class" property.
-
getWritabilityMode
Description copied from interface:LocalBackendCfg
Gets the "writability-mode" property.Specifies the behavior that the backend should use when processing write operations.
- Specified by:
getWritabilityMode
in interfaceLocalBackendCfg
- Returns:
- Returns the value of the "writability-mode" property.
-
addChangeListener
Description copied from interface:BackendCfg
Register to be notified when this Backend is changed.- Specified by:
addChangeListener
in interfaceBackendCfg
- Parameters:
listener
- The Backend configuration change listener.
-
removeChangeListener
Description copied from interface:BackendCfg
Deregister an existing Backend configuration change listener.- Specified by:
removeChangeListener
in interfaceBackendCfg
- Parameters:
listener
- The Backend configuration change listener.
-
addLocalChangeListener
Description copied from interface:LocalBackendCfg
Register to be notified when this Local Backend is changed.- Specified by:
addLocalChangeListener
in interfaceLocalBackendCfg
- Parameters:
listener
- The Local Backend configuration change listener.
-
removeLocalChangeListener
Description copied from interface:LocalBackendCfg
Deregister an existing Local Backend configuration change listener.- Specified by:
removeLocalChangeListener
in interfaceLocalBackendCfg
- Parameters:
listener
- The Local Backend configuration change listener.
-