javax.management
Interface NotificationFilter
- All Superinterfaces:
- Serializable
- All Known Implementing Classes:
- AttributeChangeNotificationFilter, NotificationFilterSupport
public interface NotificationFilter
- extends Serializable
Represents a object that acts as a filter for notifications.
Implementations of this class are used to determine which
notifications should be passed to a receiving bean, and which
should not.
- Since:
- 1.5
isNotificationEnabled
boolean isNotificationEnabled(Notification notification)
- Returns true if the specified notification should be passed
on to the listener.
- Parameters:
notification
- the notification being delivered.
- Returns:
- true if the notification should be passed to the
listener, false otherwise.