javax.management
Interface NotificationFilter

All Superinterfaces:
Serializable sample code for java.io.Serializable definition code for java.io.Serializable
All Known Implementing Classes:
AttributeChangeNotificationFilter sample code for javax.management.AttributeChangeNotificationFilter definition code for javax.management.AttributeChangeNotificationFilter , MBeanServerNotificationFilter sample code for javax.management.relation.MBeanServerNotificationFilter definition code for javax.management.relation.MBeanServerNotificationFilter , NotificationFilterSupport sample code for javax.management.NotificationFilterSupport definition code for javax.management.NotificationFilterSupport

public interface NotificationFilter
extends Serializable sample code for java.io.Serializable definition code for java.io.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.

Since:
1.5

Method Summary
 boolean isNotificationEnabled sample code for javax.management.NotificationFilter.isNotificationEnabled(javax.management.Notification) definition code for javax.management.NotificationFilter.isNotificationEnabled(javax.management.Notification) (Notification sample code for javax.management.Notification definition code for javax.management.Notification  notification)
          Invoked before sending the specified notification to the listener.
 

Method Detail

isNotificationEnabled sample code for javax.management.NotificationFilter.isNotificationEnabled(javax.management.Notification) definition code for javax.management.NotificationFilter.isNotificationEnabled(javax.management.Notification)

boolean isNotificationEnabled(Notification sample code for javax.management.Notification definition code for javax.management.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.