Interface LocalBackendCfg
-
- All Superinterfaces:
BackendCfg,Configuration
- All Known Subinterfaces:
BackupBackendCfg,JEBackendCfg,LDIFBackendCfg,MemoryBackendCfg,MonitorBackendCfg,NullBackendCfg,PDBBackendCfg,PluggableBackendCfg,SchemaBackendCfg,TaskBackendCfg,TrustStoreBackendCfg
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 voidaddLocalChangeListener(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.StringgetJavaClass()Gets the "java-class" property.LocalBackendCfgDefn.WritabilityModegetWritabilityMode()Gets the "writability-mode" property.voidremoveLocalChangeListener(ConfigurationChangeListener<LocalBackendCfg> listener)Deregister an existing Local Backend configuration change listener.-
Methods inherited from interface org.forgerock.opendj.server.config.server.BackendCfg
addChangeListener, getBackendId, getBaseDN, 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:
configurationClassin interfaceBackendCfg- Specified by:
configurationClassin 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.
-
getJavaClass
String getJavaClass()
Gets 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
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.
-
-