org.opends.server.api
Interface AlertGenerator

All Known Implementing Classes:
AccessControlConfigManager, AciListenerManager, BackendImpl, ConfigFileHandler, DirectoryServer, JmxConnectionHandler, LDAPConnectionHandler, LDIFBackend, LDIFConnectionHandler, ReplicationDomain, SchemaBackend, TaskScheduler, UniqueAttributePlugin

@PublicAPI(stability=VOLATILE,
           mayInstantiate=false,
           mayExtend=true,
           mayInvoke=false)
public interface AlertGenerator

This class defines an interface that may be used to define a set of alert notifications that may be generated by this Directory Server component. The notifications will be made available through JMX and may be published through other mechanisms as well.


Method Summary
 java.util.LinkedHashMap<java.lang.String,java.lang.String> getAlerts()
          Retrieves information about the set of alerts that this generator may produce.
 java.lang.String getClassName()
          Retrieves the fully-qualified name of the Java class for this alert generator implementation.
 DN getComponentEntryDN()
          Retrieves the DN of the configuration entry with which this alert generator is associated.
 

Method Detail

getComponentEntryDN

DN getComponentEntryDN()
Retrieves the DN of the configuration entry with which this alert generator is associated.

Returns:
The DN of the configuration entry with which this alert generator is associated.

getClassName

java.lang.String getClassName()
Retrieves the fully-qualified name of the Java class for this alert generator implementation.

Returns:
The fully-qualified name of the Java class for this alert generator implementation.

getAlerts

java.util.LinkedHashMap<java.lang.String,java.lang.String> getAlerts()
Retrieves information about the set of alerts that this generator may produce. The map returned should be between the notification type for a particular notification and the human-readable description for that notification. This alert generator must not generate any alerts with types that are not contained in this list.

Returns:
Information about the set of alerts that this generator may produce.