Interface NullBackendCfg
-
- All Superinterfaces:
BackendCfg,Configuration,LocalBackendCfg
public interface NullBackendCfg extends LocalBackendCfg
A server-side interface for querying Null Backend settings.The Null Backend provides a directory server backend that implements a /dev/null like behavior for development and testing.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidaddNullChangeListener(ConfigurationChangeListener<NullBackendCfg> listener)Register to be notified when this Null Backend is changed.Class<? extends NullBackendCfg>configurationClass()Gets the configuration class associated with this Null Backend.StringgetJavaClass()Gets the "java-class" property.LocalBackendCfgDefn.WritabilityModegetWritabilityMode()Gets the "writability-mode" property.voidremoveNullChangeListener(ConfigurationChangeListener<NullBackendCfg> listener)Deregister an existing Null 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
-
Methods inherited from interface org.forgerock.opendj.server.config.server.LocalBackendCfg
addLocalChangeListener, removeLocalChangeListener
-
-
-
-
Method Detail
-
configurationClass
Class<? extends NullBackendCfg> configurationClass()
Gets the configuration class associated with this Null Backend.- Specified by:
configurationClassin interfaceBackendCfg- Specified by:
configurationClassin interfaceConfiguration- Specified by:
configurationClassin interfaceLocalBackendCfg- Returns:
- Returns the configuration class associated with this Null Backend.
-
addNullChangeListener
void addNullChangeListener(ConfigurationChangeListener<NullBackendCfg> listener)
Register to be notified when this Null Backend is changed.- Parameters:
listener- The Null Backend configuration change listener.
-
removeNullChangeListener
void removeNullChangeListener(ConfigurationChangeListener<NullBackendCfg> listener)
Deregister an existing Null Backend configuration change listener.- Parameters:
listener- The Null 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- Specified by:
getJavaClassin interfaceLocalBackendCfg- 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.
- Specified by:
getWritabilityModein interfaceLocalBackendCfg- Returns:
- Returns the value of the "writability-mode" property.
-
-