javax.management

Interface NotificationFilter

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

Method Summary
booleanisNotificationEnabled(Notification notification)
Returns true if the specified notification should be passed on to the listener.

Method Detail

isNotificationEnabled

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