| 
 | |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectjavax.management.NotificationFilterSupport
An implementation of the NotificationFilter interface.
It filters on the notification type. It Maintains a list of enabled notification types. By default no notifications are enabled.
The enabled types are prefixes. That is a notification is enabled if it starts with an enabled string.
| Constructor Summary | |
| NotificationFilterSupport()Create a filter that filters out all notification types. | |
| Method Summary | |
|  void | disableAllTypes()Disable all notification types. | 
|  void | disableType(String type)Disable a notification type. | 
|  void | enableType(String type)Enable a notification type. | 
|  Vector | getEnabledTypes()Get all the enabled notification types. | 
|  boolean | isNotificationEnabled(Notification notification)Test to see whether this notification is enabled | 
|  String | toString() | 
| Methods inherited from class java.lang.Object | 
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait | 
| Constructor Detail | 
public NotificationFilterSupport()
| Method Detail | 
public void disableAllTypes()
public void disableType(String type)
type - the notification type to disable.public void enableType(String type) throws IllegalArgumentException
type - the notification type to enable.
IllegalArgumentException - for a null typepublic Vector getEnabledTypes()
 Returns a vector of enabled notification type.
 An empty vector means all types disabled.
public String toString()
public boolean isNotificationEnabled(Notification notification)
isNotificationEnabled in interface NotificationFilternotification - the notification to filter
IllegalArgumentException - for null notification.| 
 | |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||