javax.management.relation
Class MBeanServerNotificationFilter

java.lang.Object
  |
  +--javax.management.NotificationFilterSupport
        |
        +--javax.management.relation.MBeanServerNotificationFilter
All Implemented Interfaces:
NotificationFilter, java.io.Serializable

public class MBeanServerNotificationFilter
extends NotificationFilterSupport

Version:
$Revision: 1.4 $
Author:
Simone Bordet
See Also:
Serialized Form

Constructor Summary
MBeanServerNotificationFilter()
           
 
Method Summary
 void disableAllObjectNames()
           
 void disableObjectName(ObjectName name)
           
 void enableAllObjectNames()
           
 void enableObjectName(ObjectName name)
           
 java.util.Vector getDisabledObjectNames()
           
 java.util.Vector getEnabledObjectNames()
           
 boolean isNotificationEnabled(Notification notification)
          Invoked before sending the Notification to the listener.
 
Methods inherited from class javax.management.NotificationFilterSupport
disableAllTypes, disableType, enableType, getEnabledTypes
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MBeanServerNotificationFilter

public MBeanServerNotificationFilter()
Method Detail

disableAllObjectNames

public void disableAllObjectNames()

enableAllObjectNames

public void enableAllObjectNames()

enableObjectName

public void enableObjectName(ObjectName name)
                      throws java.lang.IllegalArgumentException
java.lang.IllegalArgumentException

disableObjectName

public void disableObjectName(ObjectName name)
                       throws java.lang.IllegalArgumentException
java.lang.IllegalArgumentException

getEnabledObjectNames

public java.util.Vector getEnabledObjectNames()

getDisabledObjectNames

public java.util.Vector getDisabledObjectNames()

isNotificationEnabled

public boolean isNotificationEnabled(Notification notification)
Description copied from interface: NotificationFilter
Invoked before sending the Notification to the listener.

Specified by:
isNotificationEnabled in interface NotificationFilter
Overrides:
isNotificationEnabled in class NotificationFilterSupport
Returns:
boolean true if the Notification should be sent, false otherwise


Copyright © 2001-2002 MX4J Team. All Rights Reserved.