public final class ConfigurationBackend.ConfigurationBackendCfg extends Object implements LocalBackendCfg
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.Modifier and Type | Method and Description |
---|---|
void |
addChangeListener(ConfigurationChangeListener<BackendCfg> listener)
Register to be notified when this Backend is changed.
|
void |
addLocalChangeListener(ConfigurationChangeListener<LocalBackendCfg> listener)
Register to be notified when this Local Backend is changed.
|
Class<? extends LocalBackendCfg> |
configurationClass()
Gets the configuration class associated with this Local Backend.
|
Dn |
dn()
Gets the DN of the LDAP entry associated with this configuration.
|
String |
getBackendId()
Gets the "backend-id" property.
|
String |
getJavaClass()
Gets the "java-class" property.
|
LocalBackendCfgDefn.WritabilityMode |
getWritabilityMode()
Gets the "writability-mode" property.
|
boolean |
isEnabled()
Gets the "enabled" property.
|
void |
removeChangeListener(ConfigurationChangeListener<BackendCfg> listener)
Deregister an existing Backend configuration change listener.
|
void |
removeLocalChangeListener(ConfigurationChangeListener<LocalBackendCfg> listener)
Deregister an existing Local Backend configuration change listener.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
name
public Dn dn()
Configuration
dn
in interface Configuration
public Class<? extends LocalBackendCfg> configurationClass()
LocalBackendCfg
configurationClass
in interface Configuration
configurationClass
in interface BackendCfg
configurationClass
in interface LocalBackendCfg
public String getBackendId()
BackendCfg
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.
getBackendId
in interface BackendCfg
public boolean isEnabled()
BackendCfg
Indicates whether the backend is enabled in the server.
If a backend is not enabled, then its contents are not accessible when processing operations.
isEnabled
in interface BackendCfg
public String getJavaClass()
BackendCfg
Specifies the fully-qualified name of the Java class that provides the backend implementation.
getJavaClass
in interface BackendCfg
public LocalBackendCfgDefn.WritabilityMode getWritabilityMode()
LocalBackendCfg
Specifies the behavior that the backend should use when processing write operations.
getWritabilityMode
in interface LocalBackendCfg
public void addChangeListener(ConfigurationChangeListener<BackendCfg> listener)
BackendCfg
addChangeListener
in interface BackendCfg
listener
- The Backend configuration change listener.public void removeChangeListener(ConfigurationChangeListener<BackendCfg> listener)
BackendCfg
removeChangeListener
in interface BackendCfg
listener
- The Backend configuration change listener.public void addLocalChangeListener(ConfigurationChangeListener<LocalBackendCfg> listener)
LocalBackendCfg
addLocalChangeListener
in interface LocalBackendCfg
listener
- The Local Backend configuration change listener.public void removeLocalChangeListener(ConfigurationChangeListener<LocalBackendCfg> listener)
LocalBackendCfg
removeLocalChangeListener
in interface LocalBackendCfg
listener
- The Local Backend configuration change listener.Copyright 2010-2022 ForgeRock AS.