Interface LDIFBackendCfg
-
- All Superinterfaces:
BackendCfg,Configuration,LocalBackendCfg
public interface LDIFBackendCfg extends LocalBackendCfg
A server-side interface for querying LDIF Backend settings.The LDIF Backend provides a mechanism for interacting with data stored in an LDIF file.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidaddLDIFChangeListener(ConfigurationChangeListener<LDIFBackendCfg> listener)Register to be notified when this LDIF Backend is changed.Class<? extends LDIFBackendCfg>configurationClass()Gets the configuration class associated with this LDIF Backend.StringgetJavaClass()Gets the "java-class" property.StringgetLDIFFile()Gets the "ldif-file" property.LocalBackendCfgDefn.WritabilityModegetWritabilityMode()Gets the "writability-mode" property.booleanisIsPrivateBackend()Gets the "is-private-backend" property.voidremoveLDIFChangeListener(ConfigurationChangeListener<LDIFBackendCfg> listener)Deregister an existing LDIF 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 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
void addLDIFChangeListener(ConfigurationChangeListener<LDIFBackendCfg> listener)
Register to be notified when this LDIF Backend is changed.- Parameters:
listener- The LDIF Backend configuration change listener.
-
removeLDIFChangeListener
void removeLDIFChangeListener(ConfigurationChangeListener<LDIFBackendCfg> listener)
Deregister an existing LDIF Backend configuration change listener.- Parameters:
listener- The LDIF Backend configuration change listener.
-
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.
- 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.
- Specified by:
getJavaClassin interfaceBackendCfg- Specified by:
getJavaClassin interfaceLocalBackendCfg- 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.
- Specified by:
getWritabilityModein interfaceLocalBackendCfg- Returns:
- Returns the value of the "writability-mode" property.
-
-