javax.management
public class AttributeChangeNotificationFilter extends Object implements NotificationFilter, Serializable
Since: 1.5
Method Summary | |
---|---|
void | disableAllAttributes()
Blocks all {@link AttributeChangeNotification}s
by emptying the list of enabled attributes. |
void | disableAttribute(String name)
Removes the specified attribute name from the list
of enabled attributes, thus preventing
{@link AttributeChangeNotification}s for this attribute
from passing through the filter. |
void | enableAttribute(String name)
Adds the specified attribute name to the list
of enabled attributes, thus allowing
{@link AttributeChangeNotification}s for this attribute
to pass through the filter. |
Vector<String> | getEnabledAttributes()
Returns the list of enabled attributes for this
filter.
|
boolean | isNotificationEnabled(Notification notif)
Returns true if the specified notification is an
{@link AttributeChangeNotification} and the name of the
attribute concerned is in the list of enabled attributes
for this filter.
|
Parameters: name the name of the attribute to disable.
Parameters: name the name of the attribute to enable.
Returns: the list of enabled attributes.
Parameters: notif the notification being filtered.
Returns: true if the notification is an {@link AttributeChangeNotification} for an enabled attribute.