javax.management
Interface NotificationFilter

All Superinterfaces:
java.io.Serializable
All Known Implementing Classes:
AttributeChangeNotificationFilter (src) , CompositeEventFilter (src) , MBeanTrackerFilter (src) , NotificationFilterProxy (src) , NotificationFilterSupport (src)

public interface NotificationFilter
extends java.io.Serializable

This interface is implemented by any class acting as a notification filter.

The filter is used before the notification is sent to see whether the notification is required.

See Also:
NotificationFilterSupport (src)

Method Summary
 boolean isNotificationEnabled(Notification (src)  notification)
          This method is called before a notification is sent to see whether the listener wants the notification.
 

Method Detail

isNotificationEnabled

public boolean isNotificationEnabled(Notification (src)  notification)
This method is called before a notification is sent to see whether the listener wants the notification.

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