public abstract class AbstractNotificationObject extends AbstractManagedObject implements javax.management.NotificationEmitter
| Modifier | Constructor and Description |
|---|---|
protected |
AbstractNotificationObject() |
protected |
AbstractNotificationObject(java.lang.ClassLoader loader) |
| Modifier and Type | Method and Description |
|---|---|
void |
addNotificationListener(javax.management.NotificationListener listener,
javax.management.NotificationFilter filter,
java.lang.Object handback)
Adds a new listener
|
protected void |
handleNotification(javax.management.NotificationListener listener,
javax.management.Notification notif,
java.lang.Object handback) |
void |
removeNotificationListener(javax.management.NotificationListener listener) |
void |
removeNotificationListener(javax.management.NotificationListener listener,
javax.management.NotificationFilter filter,
java.lang.Object handback) |
void |
sendNotification(javax.management.Notification notification) |
addObjectNameProperties, getName, getObjectName, getType, registerSelf, toString, unregisterSelfprotected AbstractNotificationObject()
protected AbstractNotificationObject(java.lang.ClassLoader loader)
public void addNotificationListener(javax.management.NotificationListener listener,
javax.management.NotificationFilter filter,
java.lang.Object handback)
addNotificationListener in interface javax.management.NotificationBroadcasterpublic void removeNotificationListener(javax.management.NotificationListener listener)
throws javax.management.ListenerNotFoundException
removeNotificationListener in interface javax.management.NotificationBroadcasterjavax.management.ListenerNotFoundExceptionpublic 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.ListenerNotFoundExceptionprotected void handleNotification(javax.management.NotificationListener listener,
javax.management.Notification notif,
java.lang.Object handback)
public void sendNotification(javax.management.Notification notification)