Interface NullBackendCfgClient
- All Superinterfaces:
BackendCfgClient,ConfigurationClient,LocalBackendCfgClient
The Null Backend provides a directory server backend that implements a /dev/null like behavior for development and testing.
-
Method Summary
Modifier and TypeMethodDescriptionManagedObjectDefinition<? extends NullBackendCfgClient,? extends NullBackendCfg> Get the configuration definition associated with this Null Backend.Gets the "base-dn" property.Gets the "java-class" property.Gets the "writability-mode" property.voidsetBaseDn(Collection<ValueOrExpression<Dn>> values) Sets the "base-dn" property.voidsetJavaClass(ValueOrExpression<String> value) Sets the "java-class" property.voidSets the "writability-mode" property.Methods inherited from interface org.forgerock.opendj.server.config.client.BackendCfgClient
getBackendId, isEnabled, setBackendId, setEnabledMethods inherited from interface org.forgerock.opendj.config.ConfigurationClient
commit, properties
-
Method Details
-
definition
ManagedObjectDefinition<? extends NullBackendCfgClient,? extends NullBackendCfg> definition()Get the configuration definition associated with this Null Backend.- Specified by:
definitionin interfaceBackendCfgClient- Specified by:
definitionin interfaceConfigurationClient- Specified by:
definitionin interfaceLocalBackendCfgClient- Returns:
- Returns the configuration definition associated with this Null Backend.
-
getBaseDn
Gets the "base-dn" property.Specifies the base DN(s) for the data that the backend handles.
A single backend may be responsible for one or more base DNs. Note that no two backends may have the same base DN although one backend may have a base DN that is below a base DN provided by another backend (similar to the use of sub-suffixes in the Sun Java System Directory Server). If any of the base DNs is subordinate to a base DN for another backend, then all base DNs for that backend must be subordinate to that same base DN.
- Returns:
- Returns the values of the "base-dn" property.
-
setBaseDn
@MandatoryProperty void setBaseDn(Collection<ValueOrExpression<Dn>> values) throws PropertyException Sets the "base-dn" property.Specifies the base DN(s) for the data that the backend handles.
A single backend may be responsible for one or more base DNs. Note that no two backends may have the same base DN although one backend may have a base DN that is below a base DN provided by another backend (similar to the use of sub-suffixes in the Sun Java System Directory Server). If any of the base DNs is subordinate to a base DN for another backend, then all base DNs for that backend must be subordinate to that same base DN.
- Parameters:
values- The values of the "base-dn" property.- Throws:
PropertyException- If one or more of the new values are invalid.
-
getJavaClass
Gets the "java-class" property.Specifies the fully-qualified name of the Java class that provides the backend implementation.
Default value:
org.opends.server.backends.NullBackend- Specified by:
getJavaClassin interfaceBackendCfgClient- Returns:
- Returns the value of the "java-class" property.
-
setJavaClass
Sets the "java-class" property.Specifies the fully-qualified name of the Java class that provides the backend implementation.
- Specified by:
setJavaClassin interfaceBackendCfgClient- Parameters:
value- The value of the "java-class" property.- Throws:
PropertyException- If the new value is invalid.
-
getWritabilityMode
Gets the "writability-mode" property.Specifies the behavior that the backend should use when processing write operations.
Default value:
enabled- Specified by:
getWritabilityModein interfaceLocalBackendCfgClient- Returns:
- Returns the value of the "writability-mode" property.
-
setWritabilityMode
@MandatoryProperty void setWritabilityMode(ValueOrExpression<LocalBackendCfgDefn.WritabilityMode> value) throws PropertyException Sets the "writability-mode" property.Specifies the behavior that the backend should use when processing write operations.
- Specified by:
setWritabilityModein interfaceLocalBackendCfgClient- Parameters:
value- The value of the "writability-mode" property.- Throws:
PropertyException- If the new value is invalid.
-