com.sun.appserv.management.util.jmx
Class NotificationListenerTracking
java.lang.Object
com.sun.appserv.management.util.jmx.NotificationListenerTracking
public class NotificationListenerTracking
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NotificationListenerTracking
public NotificationListenerTracking(boolean synchronize)
addNotificationListener
public void addNotificationListener(NotificationListener listener,
NotificationFilter filter,
Object handback)
getListenerCount
public int getListenerCount()
removeNotificationListener
public List<NotificationListenerInfo> removeNotificationListener(NotificationListener listener)
- Remove all instances of the specified listener and return
their corresponding NotificationListenerInfo.
This behavior matches the behavior of
NotificationEmitter
.
- Returns:
- list of NotificationListenerInfo
removeNotificationListener
public NotificationListenerInfo removeNotificationListener(NotificationListener listener,
NotificationFilter filter,
Object handback)
- Remove the first instance of the specified listener/filter/handback
combination and return its corresponding NotificationListenerInfo.
This behavior matches the behavior of
NotificationEmitter
.
- Returns:
- list of NotificationListenerInfo
Submit a bug or feature Copyright 2006 Sun Microsystems, Inc. All rights reserved.