javax.management
Class NotificationFilterSupport

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

public class NotificationFilterSupport
extends java.lang.Object
implements NotificationFilter

See Also:
Serialized Form

Constructor Summary
NotificationFilterSupport()
           
 
Method Summary
 void disableAllTypes()
           
 void disableType(java.lang.String prefix)
           
 void enableType(java.lang.String prefix)
           
 java.util.Vector getEnabledTypes()
           
 boolean isNotificationEnabled(javax.management.Notification notification)
          Invoked before sending the Notification to the listener.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NotificationFilterSupport

public NotificationFilterSupport()
Method Detail

enableType

public void enableType(java.lang.String prefix)
                throws java.lang.IllegalArgumentException
java.lang.IllegalArgumentException

disableAllTypes

public void disableAllTypes()

disableType

public void disableType(java.lang.String prefix)

getEnabledTypes

public java.util.Vector getEnabledTypes()

isNotificationEnabled

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

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