public interface BackendCfg extends Configuration
Backends are responsible for providing access to the underlying data presented by the server.
Modifier and Type | Method and Description |
---|---|
void |
addChangeListener(ConfigurationChangeListener<BackendCfg> listener)
Register to be notified when this Backend is changed.
|
Class<? extends BackendCfg> |
configurationClass()
Gets the configuration class associated with this Backend.
|
String |
getBackendId()
Gets the "backend-id" property.
|
String |
getJavaClass()
Gets the "java-class" property.
|
boolean |
isEnabled()
Gets the "enabled" property.
|
void |
removeChangeListener(ConfigurationChangeListener<BackendCfg> listener)
Deregister an existing Backend configuration change listener.
|
dn, name
Class<? extends BackendCfg> configurationClass()
configurationClass
in interface Configuration
void addChangeListener(ConfigurationChangeListener<BackendCfg> listener)
listener
- The Backend configuration change listener.void removeChangeListener(ConfigurationChangeListener<BackendCfg> listener)
listener
- The Backend configuration change listener.String getBackendId()
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.
boolean isEnabled()
Indicates whether the backend is enabled in the server.
If a backend is not enabled, then its contents are not accessible when processing operations.
String getJavaClass()
Specifies the fully-qualified name of the Java class that provides the backend implementation.
Copyright 2010-2018 ForgeRock AS.