public abstract class NotificationEmitterMBean extends MBeanRegistrationSupport implements javax.management.NotificationEmitter
| Constructor and Description |
|---|
NotificationEmitterMBean(ObjectContainer db,
java.lang.Class<?> type) |
| Modifier and Type | Method and Description |
|---|---|
void |
addNotificationListener(javax.management.NotificationListener listener,
javax.management.NotificationFilter filter,
java.lang.Object handback) |
void |
removeNotificationListener(javax.management.NotificationListener listener) |
void |
removeNotificationListener(javax.management.NotificationListener listener,
javax.management.NotificationFilter filter,
java.lang.Object handback) |
protected void |
sendNotification(java.lang.String notificationType,
java.lang.String message,
java.lang.Object userData) |
objectName, register, unregisterpublic NotificationEmitterMBean(ObjectContainer db, java.lang.Class<?> type) throws javax.management.JMException
javax.management.JMExceptionpublic void removeNotificationListener(javax.management.NotificationListener listener,
javax.management.NotificationFilter filter,
java.lang.Object handback)
throws javax.management.ListenerNotFoundException
removeNotificationListener in interface javax.management.NotificationEmitterjavax.management.ListenerNotFoundExceptionpublic void addNotificationListener(javax.management.NotificationListener listener,
javax.management.NotificationFilter filter,
java.lang.Object handback)
throws java.lang.IllegalArgumentException
addNotificationListener in interface javax.management.NotificationBroadcasterjava.lang.IllegalArgumentExceptionpublic void removeNotificationListener(javax.management.NotificationListener listener)
throws javax.management.ListenerNotFoundException
removeNotificationListener in interface javax.management.NotificationBroadcasterjavax.management.ListenerNotFoundExceptionprotected void sendNotification(java.lang.String notificationType,
java.lang.String message,
java.lang.Object userData)