|
|||||||||
| Home >> All >> javax >> [ management overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
javax.management
Class NotificationFilterSupport

java.lang.Objectjavax.management.NotificationFilterSupport
- All Implemented Interfaces:
- NotificationFilter, java.io.Serializable
- public class NotificationFilterSupport
- extends java.lang.Object
- implements NotificationFilter
- extends java.lang.Object
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.
| Field Summary | |
private java.util.Vector |
enabledTypes
Enabled notification types. |
private static long |
serialVersionUID
|
| Constructor Summary | |
NotificationFilterSupport()
Create a filter that filters out all notification types. |
|
| Method Summary | |
void |
disableAllTypes()
Disable all notification types. |
void |
disableType(java.lang.String type)
Disable a notification type. |
void |
enableType(java.lang.String type)
Enable a notification type. |
java.util.Vector |
getEnabledTypes()
Get all the enabled notification types. |
boolean |
isNotificationEnabled(Notification notification)
Test to see whether this notification is enabled |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
serialVersionUID
private static final long serialVersionUID
- See Also:
- Constant Field Values
enabledTypes
private java.util.Vector enabledTypes
- Enabled notification types.
| Constructor Detail |
NotificationFilterSupport
public NotificationFilterSupport()
- Create a filter that filters out all notification types.
| Method Detail |
disableAllTypes
public void disableAllTypes()
- Disable all notification types. Rejects all notifications.
disableType
public void disableType(java.lang.String type)
- Disable a notification type.
enableType
public void enableType(java.lang.String type)
- Enable a notification type.
getEnabledTypes
public java.util.Vector getEnabledTypes()
- Get all the enabled notification types.
Returns a vector of enabled notification type.
An empty vector means all types disabled.
isNotificationEnabled
public boolean isNotificationEnabled(Notification notification)
- Test to see whether this notification is enabled
- Specified by:
isNotificationEnabledin interfaceNotificationFilter
|
|||||||||
| Home >> All >> javax >> [ management overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
JAVADOC
javax.management.NotificationFilterSupport