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, unregisterSelf
protected 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.NotificationBroadcaster
public void removeNotificationListener(javax.management.NotificationListener listener) throws javax.management.ListenerNotFoundException
removeNotificationListener
in interface javax.management.NotificationBroadcaster
javax.management.ListenerNotFoundException
public void removeNotificationListener(javax.management.NotificationListener listener, javax.management.NotificationFilter filter, java.lang.Object handback) throws javax.management.ListenerNotFoundException
removeNotificationListener
in interface javax.management.NotificationEmitter
javax.management.ListenerNotFoundException
protected void handleNotification(javax.management.NotificationListener listener, javax.management.Notification notif, java.lang.Object handback)
public void sendNotification(javax.management.Notification notification)