Interface LDIFConnectionHandlerCfg
-
- All Superinterfaces:
Configuration,ConnectionHandlerCfg
public interface LDIFConnectionHandlerCfg extends ConnectionHandlerCfg
A server-side interface for querying LDIF Connection Handler settings.The LDIF Connection Handler is used to process changes in the server using internal operations, where the changes to process are read from an LDIF file.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidaddLDIFChangeListener(ConfigurationChangeListener<LDIFConnectionHandlerCfg> listener)Register to be notified when this LDIF Connection Handler is changed.Class<? extends LDIFConnectionHandlerCfg>configurationClass()Gets the configuration class associated with this LDIF Connection Handler.StringgetJavaClass()Gets the "java-class" property.StringgetLDIFDirectory()Gets the "ldif-directory" property.longgetPollInterval()Gets the "poll-interval" property.voidremoveLDIFChangeListener(ConfigurationChangeListener<LDIFConnectionHandlerCfg> listener)Deregister an existing LDIF Connection Handler configuration change listener.-
Methods inherited from interface org.forgerock.opendj.config.Configuration
dn, name
-
Methods inherited from interface org.forgerock.opendj.server.config.server.ConnectionHandlerCfg
addChangeListener, getAllowedClient, getDeniedClient, isEnabled, removeChangeListener
-
-
-
-
Method Detail
-
configurationClass
Class<? extends LDIFConnectionHandlerCfg> configurationClass()
Gets the configuration class associated with this LDIF Connection Handler.- Specified by:
configurationClassin interfaceConfiguration- Specified by:
configurationClassin interfaceConnectionHandlerCfg- Returns:
- Returns the configuration class associated with this LDIF Connection Handler.
-
addLDIFChangeListener
void addLDIFChangeListener(ConfigurationChangeListener<LDIFConnectionHandlerCfg> listener)
Register to be notified when this LDIF Connection Handler is changed.- Parameters:
listener- The LDIF Connection Handler configuration change listener.
-
removeLDIFChangeListener
void removeLDIFChangeListener(ConfigurationChangeListener<LDIFConnectionHandlerCfg> listener)
Deregister an existing LDIF Connection Handler configuration change listener.- Parameters:
listener- The LDIF Connection Handler configuration change listener.
-
getJavaClass
String getJavaClass()
Gets the "java-class" property.Specifies the fully-qualified name of the Java class that provides the LDIF Connection Handler implementation.
- Specified by:
getJavaClassin interfaceConnectionHandlerCfg- Returns:
- Returns the value of the "java-class" property.
-
getLDIFDirectory
String getLDIFDirectory()
Gets the "ldif-directory" property.Specifies the path to the directory in which the LDIF files should be placed.
- Returns:
- Returns the value of the "ldif-directory" property.
-
getPollInterval
long getPollInterval()
Gets the "poll-interval" property.Specifies how frequently the LDIF connection handler should check the LDIF directory to determine whether a new LDIF file has been added.
- Returns:
- Returns the value of the "poll-interval" property.
-
-