org.opends.server.admin.std.server
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
 void addLDIFChangeListener(ConfigurationChangeListener<LDIFConnectionHandlerCfg> listener)
          Register to be notified when this LDIF Connection Handler is changed.
 java.lang.Class<? extends LDIFConnectionHandlerCfg> configurationClass()
          Gets the configuration class associated with this LDIF Connection Handler.
 java.lang.String getJavaClass()
          Gets the "java-class" property.
 java.lang.String getLDIFDirectory()
          Gets the "ldif-directory" property.
 long getPollInterval()
          Gets the "poll-interval" property.
 void removeLDIFChangeListener(ConfigurationChangeListener<LDIFConnectionHandlerCfg> listener)
          Deregister an existing LDIF Connection Handler configuration change listener.
 
Methods inherited from interface org.opends.server.admin.std.server.ConnectionHandlerCfg
addChangeListener, getAllowedClient, getDeniedClient, isEnabled, removeChangeListener
 
Methods inherited from interface org.opends.server.admin.Configuration
dn
 

Method Detail

configurationClass

java.lang.Class<? extends LDIFConnectionHandlerCfg> configurationClass()
Gets the configuration class associated with this LDIF Connection Handler.

Specified by:
configurationClass in interface Configuration
Specified by:
configurationClass in interface ConnectionHandlerCfg
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

java.lang.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:
getJavaClass in interface ConnectionHandlerCfg
Returns:
Returns the value of the "java-class" property.

getLDIFDirectory

java.lang.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.