org.opends.server.admin.std.server
Interface JMXAlertHandlerCfg

All Superinterfaces:
AlertHandlerCfg, Configuration

public interface JMXAlertHandlerCfg
extends AlertHandlerCfg

A server-side interface for querying JMX Alert Handler settings.

The JMX Alert Handler is used to generate JMX notifications to alert administrators of significant events that occur within the server.


Method Summary
 void addJMXChangeListener(ConfigurationChangeListener<JMXAlertHandlerCfg> listener)
          Register to be notified when this JMX Alert Handler is changed.
 java.lang.Class<? extends JMXAlertHandlerCfg> configurationClass()
          Gets the configuration class associated with this JMX Alert Handler.
 java.lang.String getJavaClass()
          Gets the "java-class" property.
 void removeJMXChangeListener(ConfigurationChangeListener<JMXAlertHandlerCfg> listener)
          Deregister an existing JMX Alert Handler configuration change listener.
 
Methods inherited from interface org.opends.server.admin.std.server.AlertHandlerCfg
addChangeListener, getDisabledAlertType, getEnabledAlertType, isEnabled, removeChangeListener
 
Methods inherited from interface org.opends.server.admin.Configuration
dn
 

Method Detail

configurationClass

java.lang.Class<? extends JMXAlertHandlerCfg> configurationClass()
Gets the configuration class associated with this JMX Alert Handler.

Specified by:
configurationClass in interface AlertHandlerCfg
Specified by:
configurationClass in interface Configuration
Returns:
Returns the configuration class associated with this JMX Alert Handler.

addJMXChangeListener

void addJMXChangeListener(ConfigurationChangeListener<JMXAlertHandlerCfg> listener)
Register to be notified when this JMX Alert Handler is changed.

Parameters:
listener - The JMX Alert Handler configuration change listener.

removeJMXChangeListener

void removeJMXChangeListener(ConfigurationChangeListener<JMXAlertHandlerCfg> listener)
Deregister an existing JMX Alert Handler configuration change listener.

Parameters:
listener - The JMX Alert 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 JMX Alert Handler implementation.

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