Interface LdifBackendCfg
- All Superinterfaces:
BackendCfg,Configuration,LocalBackendCfg
The LDIF Backend provides a mechanism for interacting with data stored in an LDIF file.
-
Method Summary
Modifier and TypeMethodDescriptionvoidRegister to be notified when this LDIF Backend is changed.Class<? extends LdifBackendCfg>Gets the configuration class associated with this LDIF Backend.Gets the "base-dn" property.Gets the "java-class" property.Gets the "ldif-file" property.Gets the "writability-mode" property.booleanGets the "is-private-backend" property.voidDeregister an existing LDIF Backend configuration change listener.Methods inherited from interface org.forgerock.opendj.server.config.server.BackendCfg
addChangeListener, getBackendId, isEnabled, removeChangeListenerMethods inherited from interface org.forgerock.opendj.config.Configuration
dn, nameMethods inherited from interface org.forgerock.opendj.server.config.server.LocalBackendCfg
addLocalChangeListener, removeLocalChangeListener
-
Method Details
-
configurationClass
Class<? extends LdifBackendCfg> configurationClass()Gets the configuration class associated with this LDIF Backend.- Specified by:
configurationClassin interfaceBackendCfg- Specified by:
configurationClassin interfaceConfiguration- Specified by:
configurationClassin interfaceLocalBackendCfg- Returns:
- Returns the configuration class associated with this LDIF Backend.
-
addLdifChangeListener
Register to be notified when this LDIF Backend is changed.- Parameters:
listener- The LDIF Backend configuration change listener.
-
removeLdifChangeListener
Deregister an existing LDIF Backend configuration change listener.- Parameters:
listener- The LDIF Backend configuration change listener.
-
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 an unmodifiable set containing the values of the "base-dn" property.
-
isIsPrivateBackend
boolean isIsPrivateBackend()Gets the "is-private-backend" property.Indicates whether the backend should be considered a private backend, which indicates that it is used for storing operational data rather than user-defined information.
Default value:
false- Returns:
- Returns the value of the "is-private-backend" property.
-
getJavaClass
String 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.LDIFBackend- Specified by:
getJavaClassin interfaceBackendCfg- Returns:
- Returns the value of the "java-class" property.
-
getLdifFile
String getLdifFile()Gets the "ldif-file" property.Specifies the path to the LDIF file containing the data for this backend.
- Returns:
- Returns the value of the "ldif-file" property.
-
getWritabilityMode
LocalBackendCfgDefn.WritabilityMode getWritabilityMode()Gets the "writability-mode" property.Specifies the behavior that the backend should use when processing write operations.
Default value:
enabled- Specified by:
getWritabilityModein interfaceLocalBackendCfg- Returns:
- Returns the value of the "writability-mode" property.
-