org.apache.tomcat.util.modeler
public class FixedNotificationFilter extends java.lang.Object implements javax.management.NotificationFilter
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.
|
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 © 2000-2014 Apache Software Foundation. All Rights Reserved.