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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidaddJMXChangeListener(ConfigurationChangeListener<JMXAlertHandlerCfg> listener)Register to be notified when this JMX Alert Handler is changed.Class<? extends JMXAlertHandlerCfg>configurationClass()Gets the configuration class associated with this JMX Alert Handler.StringgetJavaClass()Gets the "java-class" property.voidremoveJMXChangeListener(ConfigurationChangeListener<JMXAlertHandlerCfg> listener)Deregister an existing JMX Alert Handler configuration change listener.-
Methods inherited from interface org.forgerock.opendj.server.config.server.AlertHandlerCfg
addChangeListener, getDisabledAlertType, getEnabledAlertType, isEnabled, removeChangeListener
-
Methods inherited from interface org.forgerock.opendj.config.Configuration
dn, name
-
-
-
-
Method Detail
-
configurationClass
Class<? extends JMXAlertHandlerCfg> configurationClass()
Gets the configuration class associated with this JMX Alert Handler.- Specified by:
configurationClassin interfaceAlertHandlerCfg- Specified by:
configurationClassin interfaceConfiguration- 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
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:
getJavaClassin interfaceAlertHandlerCfg- Returns:
- Returns the value of the "java-class" property.
-
-