javax.management
Interface NotificationFilter

All Superinterfaces:
Serializable
All Known Implementing Classes:
AttributeChangeNotificationFilter, NotificationFilterSupport, TraceFilter

public interface NotificationFilter
extends Serializable

To be implemented by a any class acting as a notification filter. It allows a registered notification listener to filter the notifications of interest.


Method Summary
 boolean isNotificationEnabled(Notification notification)
          Invoked before sending the specified notification to the listener.
 

Method Detail

isNotificationEnabled

public boolean isNotificationEnabled(Notification notification)
Invoked before sending the specified notification to the listener.

Parameters:
notification - The notification to be sent.
Returns:
true if the notification has to be sent to the listener, false otherwise.

JMX 1.2_8   2002.10.31_20:03:55_MET

Copyright 1999-2002 Sun Microsystems, Inc.   901 San Antonio Road Palo Alto, California, 94303, U.S.A.   All Rights Reserved.