Save This Page
Home » openjdk-7 » javax » management » relation » [javadoc | source]
javax.management.relation
public class: MBeanServerNotificationFilter [javadoc | source]
java.lang.Object
   javax.management.NotificationFilterSupport
      javax.management.relation.MBeanServerNotificationFilter

All Implemented Interfaces:
    NotificationFilter

Filter for MBeanServerNotification . This filter filters MBeanServerNotification notifications by selecting the ObjectNames of interest and the operations (registration, unregistration, both) of interest (corresponding to notification types).

The serialVersionUID of this class is 2605900539589789736L.

Constructor:
 public MBeanServerNotificationFilter() 
Method from javax.management.relation.MBeanServerNotificationFilter Summary:
disableAllObjectNames,   disableObjectName,   enableAllObjectNames,   enableObjectName,   getDisabledObjectNames,   getEnabledObjectNames,   isNotificationEnabled
Methods from javax.management.NotificationFilterSupport:
disableAllTypes,   disableType,   enableType,   getEnabledTypes,   isNotificationEnabled
Methods from java.lang.Object:
clone,   equals,   finalize,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from javax.management.relation.MBeanServerNotificationFilter Detail:
 public synchronized  void disableAllObjectNames() 
    Disables any MBeanServerNotification (all ObjectNames are deselected).
 public synchronized  void disableObjectName(ObjectName objectName) throws IllegalArgumentException 
    Disables MBeanServerNotifications concerning given ObjectName.
 public synchronized  void enableAllObjectNames() 
    Enables all MBeanServerNotifications (all ObjectNames are selected).
 public synchronized  void enableObjectName(ObjectName objectName) throws IllegalArgumentException 
    Enables MBeanServerNotifications concerning given ObjectName.
 public synchronized Vector<ObjectName> getDisabledObjectNames() 
    Gets all the ObjectNames disabled.
 public synchronized Vector<ObjectName> getEnabledObjectNames() 
    Gets all the ObjectNames enabled.
 public synchronized boolean isNotificationEnabled(Notification notif) throws IllegalArgumentException 
    Invoked before sending the specified notification to the listener.

    If:

    - the ObjectName of the concerned MBean is selected (explicitly OR (implicitly and not explicitly deselected))

    AND

    - the type of the operation (registration or unregistration) is selected

    then the notification is sent to the listener.