Interface JmxAlertHandlerCfg
- All Superinterfaces:
AlertHandlerCfg,Configuration
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
Modifier and TypeMethodDescriptionvoidRegister to be notified when this JMX Alert Handler is changed.Class<? extends JmxAlertHandlerCfg>Gets the configuration class associated with this JMX Alert Handler.Gets the "java-class" property.voidDeregister an existing JMX Alert Handler configuration change listener.Methods inherited from interface org.forgerock.opendj.server.config.server.AlertHandlerCfg
addChangeListener, getDisabledAlertType, getEnabledAlertType, isEnabled, removeChangeListenerMethods inherited from interface org.forgerock.opendj.config.Configuration
dn, name
-
Method Details
-
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
Register to be notified when this JMX Alert Handler is changed.- Parameters:
listener- The JMX Alert Handler configuration change listener.
-
removeJmxChangeListener
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.
Default value:
org.opends.server.extensions.JMXAlertHandler- Specified by:
getJavaClassin interfaceAlertHandlerCfg- Returns:
- Returns the value of the "java-class" property.
-