javax.management
Interface NotificationFilter

All Superinterfaces:
Serializable
All Known Implementing Classes:
AttributeChangeNotificationFilter, JBossNotificationFilterSupport, MBeanServerNotificationFilter, NotificationFilterProxy, NotificationFilterSupport

public interface NotificationFilter
extends 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.

Version:
$Revision: 1.2.30.1 $
Author:
Adrian Brock.
See Also:
NotificationFilterSupport

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

Method Detail

isNotificationEnabled

boolean isNotificationEnabled(Notification 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


Copyright © 2002 JBoss Group, LLC. All Rights Reserved.