/*
* Copyright (c) 1999, 2003, Oracle and/or its affiliates. All rights reserved.
* ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*/
package javax.management;
/**
* To be implemented by a any class acting as a notification filter.
* It allows a registered notification listener to filter the notifications of interest.
*
* @since 1.5
*/
public interface NotificationFilter extends java.io.Serializable {
/**
* Invoked before sending the specified notification to the listener.
*
* @param notification The notification to be sent.
* @return true
if the notification has to be sent to the listener, false
otherwise.
*/
public boolean isNotificationEnabled(Notification notification);
}