站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > JBoss 4.0.1 sp1 jmx API Documentation 英文版文档

NotificationFilter (JBoss/JMX API) - JBoss 4.0.1 sp1 jmx API Documentation 英文版文档


javax.management
Interface NotificationFilter

All Superinterfaces:
Serializable
All Known Implementing Classes:
AttributeChangeNotificationFilter, 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 $
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

public 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.