javax.management
Interface NotificationFilter
- All Known Implementing Classes:
- AttributeChangeNotificationFilter, NotificationFilterSupport, TraceFilter
- public abstract interface NotificationFilter
- extends java.io.Serializable
This interface should be implemented by a any MBean acting as a notification filter.
It allows a registered notification listener to filter the notifications of interest.
| Fields inherited from class java.io.Serializable |
serialVersionUID |
isNotificationEnabled
public boolean isNotificationEnabled(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.