public class FixedNotificationFilter
extends java.lang.Object
implements javax.management.NotificationFilter
Modifier and Type | Field and Description |
---|---|
private java.util.HashSet |
names
The set of attribute names that are accepted by this filter.
|
(package private) java.lang.String[] |
namesA |
Constructor and Description |
---|
FixedNotificationFilter(java.lang.String[] names)
Construct a new filter that accepts only the specified notification
names.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String[] |
getNames()
Return the set of names that are accepted by this filter.
|
boolean |
isNotificationEnabled(javax.management.Notification notification)
Test whether notification enabled for this event.
|
private java.util.HashSet names
java.lang.String[] namesA
public FixedNotificationFilter(java.lang.String[] names)
names
- Names of the notification typespublic java.lang.String[] getNames()
public boolean isNotificationEnabled(javax.management.Notification notification)
Test whether notification enabled for this event. Return true if:
isNotificationEnabled
in interface javax.management.NotificationFilter
Copyright (c) 2001-2003 - Apache Software Foundation