org.opends.server.admin.std.server
Interface LastModPluginCfg

All Superinterfaces:
Configuration, PluginCfg

public interface LastModPluginCfg
extends PluginCfg

A server-side interface for querying Last Mod Plugin settings.

The Last Mod Plugin is used to ensure that the creatorsName and createTimestamp attributes are included in an entry whenever it is added to the server and also to ensure that the modifiersName and modifyTimestamp attributes are updated whenever an entry is modified or renamed.


Method Summary
 void addLastModChangeListener(ConfigurationChangeListener<LastModPluginCfg> listener)
          Register to be notified when this Last Mod Plugin is changed.
 java.lang.Class<? extends LastModPluginCfg> configurationClass()
          Gets the configuration class associated with this Last Mod Plugin.
 java.lang.String getJavaClass()
          Gets the "java-class" property.
 java.util.SortedSet<PluginCfgDefn.PluginType> getPluginType()
          Gets the "plugin-type" property.
 void removeLastModChangeListener(ConfigurationChangeListener<LastModPluginCfg> listener)
          Deregister an existing Last Mod Plugin configuration change listener.
 
Methods inherited from interface org.opends.server.admin.std.server.PluginCfg
addChangeListener, isEnabled, isInvokeForInternalOperations, removeChangeListener
 
Methods inherited from interface org.opends.server.admin.Configuration
dn
 

Method Detail

configurationClass

java.lang.Class<? extends LastModPluginCfg> configurationClass()
Gets the configuration class associated with this Last Mod Plugin.

Specified by:
configurationClass in interface Configuration
Specified by:
configurationClass in interface PluginCfg
Returns:
Returns the configuration class associated with this Last Mod Plugin.

addLastModChangeListener

void addLastModChangeListener(ConfigurationChangeListener<LastModPluginCfg> listener)
Register to be notified when this Last Mod Plugin is changed.

Parameters:
listener - The Last Mod Plugin configuration change listener.

removeLastModChangeListener

void removeLastModChangeListener(ConfigurationChangeListener<LastModPluginCfg> listener)
Deregister an existing Last Mod Plugin configuration change listener.

Parameters:
listener - The Last Mod Plugin 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 plug-in implementation.

Specified by:
getJavaClass in interface PluginCfg
Returns:
Returns the value of the "java-class" property.

getPluginType

java.util.SortedSet<PluginCfgDefn.PluginType> getPluginType()
Gets the "plugin-type" property.

Specifies the set of plug-in types for the plug-in, which specifies the times at which the plug-in is invoked.

Specified by:
getPluginType in interface PluginCfg
Returns:
Returns an unmodifiable set containing the values of the "plugin-type" property.