Interface LocalBackendCfg
-
- All Superinterfaces:
BackendCfg
,Configuration
- All Known Subinterfaces:
JeBackendCfg
,LdifBackendCfg
,MemoryBackendCfg
,MonitorBackendCfg
,NullBackendCfg
,PluggableBackendCfg
,SchemaBackendCfg
,TaskBackendCfg
- All Known Implementing Classes:
ConfigurationBackend.ConfigurationBackendCfg
public interface LocalBackendCfg extends BackendCfg
A server-side interface for querying Local Backend settings.Local Backends are responsible for providing access to the underlying data presented by the server.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description 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.LocalBackendCfgDefn.WritabilityMode
getWritabilityMode()
Gets the "writability-mode" property.void
removeLocalChangeListener(ConfigurationChangeListener<LocalBackendCfg> listener)
Deregister an existing Local Backend configuration change listener.-
Methods inherited from interface org.forgerock.opendj.server.config.server.BackendCfg
addChangeListener, getBackendId, getJavaClass, isEnabled, removeChangeListener
-
Methods inherited from interface org.forgerock.opendj.config.Configuration
dn, name
-
-
-
-
Method Detail
-
configurationClass
Class<? extends LocalBackendCfg> configurationClass()
Gets the configuration class associated with this Local Backend.- Specified by:
configurationClass
in interfaceBackendCfg
- Specified by:
configurationClass
in interfaceConfiguration
- Returns:
- Returns the configuration class associated with this Local Backend.
-
addLocalChangeListener
void addLocalChangeListener(ConfigurationChangeListener<LocalBackendCfg> listener)
Register to be notified when this Local Backend is changed.- Parameters:
listener
- The Local Backend configuration change listener.
-
removeLocalChangeListener
void removeLocalChangeListener(ConfigurationChangeListener<LocalBackendCfg> listener)
Deregister an existing Local Backend configuration change listener.- Parameters:
listener
- The Local Backend configuration change listener.
-
getWritabilityMode
LocalBackendCfgDefn.WritabilityMode getWritabilityMode()
Gets the "writability-mode" property.Specifies the behavior that the backend should use when processing write operations.
- Returns:
- Returns the value of the "writability-mode" property.
-
-