Interface LdifConnectionHandlerCfgClient
- All Superinterfaces:
ConfigurationClient,ConnectionHandlerCfgClient
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
Modifier and TypeMethodDescriptionManagedObjectDefinition<? extends LdifConnectionHandlerCfgClient,? extends LdifConnectionHandlerCfg> Get the configuration definition associated with this LDIF Connection Handler.Gets the "java-class" property.Gets the "ldif-directory" property.Gets the "poll-interval" property.voidsetJavaClass(ValueOrExpression<String> value) Sets the "java-class" property.voidsetLdifDirectory(ValueOrExpression<String> value) Sets the "ldif-directory" property.voidsetPollInterval(ValueOrExpression<Long> value) Sets the "poll-interval" property.Methods inherited from interface org.forgerock.opendj.config.ConfigurationClient
commit, propertiesMethods inherited from interface org.forgerock.opendj.server.config.client.ConnectionHandlerCfgClient
getAllowedClient, getDeniedClient, getRestrictedClient, getRestrictedClientConnectionLimit, isEnabled, setAllowedClient, setDeniedClient, setEnabled, setRestrictedClient, setRestrictedClientConnectionLimit
-
Method Details
-
definition
ManagedObjectDefinition<? extends LdifConnectionHandlerCfgClient,? extends LdifConnectionHandlerCfg> definition()Get the configuration definition associated with this LDIF Connection Handler.- Specified by:
definitionin interfaceConfigurationClient- Specified by:
definitionin interfaceConnectionHandlerCfgClient- Returns:
- Returns the configuration definition associated with this LDIF Connection Handler.
-
getJavaClass
Gets the "java-class" property.Specifies the fully-qualified name of the Java class that provides the LDIF Connection Handler implementation.
Default value:
org.opends.server.protocols.LDIFConnectionHandler- Specified by:
getJavaClassin interfaceConnectionHandlerCfgClient- 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 LDIF Connection Handler implementation.
- Specified by:
setJavaClassin interfaceConnectionHandlerCfgClient- Parameters:
value- The value of the "java-class" property.- Throws:
PropertyException- If the new value is invalid.
-
getLdifDirectory
Gets the "ldif-directory" property.Specifies the path to the directory in which the LDIF files should be placed.
Default value:
config/auto-process-ldif- Returns:
- Returns the value of the "ldif-directory" property.
-
setLdifDirectory
Sets the "ldif-directory" property.Specifies the path to the directory in which the LDIF files should be placed.
- Parameters:
value- The value of the "ldif-directory" property.- Throws:
PropertyException- If the new value is invalid.
-
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.
Default value:
5 seconds- Returns:
- Returns the value of the "poll-interval" property.
-
setPollInterval
Sets 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.
- Parameters:
value- The value of the "poll-interval" property.- Throws:
PropertyException- If the new value is invalid.
-