|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectjavax.management.AttributeChangeNotificationFilter
Notification filter support for attribute change notifications.
Revisions:
20020710 Adrian Brock:
AttributeChangeNotification,
NotificationFilter,
Serialized Form| Constructor Summary | |
AttributeChangeNotificationFilter()
Constructs an attribute change notification filter. |
|
| Method Summary | |
void |
disableAllAttributes()
Disables all attribute change notifications. |
void |
disableAttribute(String name)
Disable the attribute change notifications of the given attribute. |
void |
enableAttribute(String name)
Enables the attribute change notifications of the given attribute to be sent to the listener. |
Vector |
getEnabledAttributes()
Returns the names of the attributes whose notifications are allowed to pass this filter. |
boolean |
isNotificationEnabled(Notification notification)
This method is called before a notification is sent to see whether the listener wants the notification. |
String |
toString()
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public AttributeChangeNotificationFilter()
enableAttribute(java.lang.String)
to enable notifications of a given attribute to pass this filter.
| Method Detail |
public boolean isNotificationEnabled(Notification notification)
NotificationFilter
isNotificationEnabled in interface NotificationFilternotification - the notification to be sent.
public void enableAttribute(String name) throws IllegalArgumentException
name - name of the management attribute
IllegalArgumentExceptionpublic void disableAttribute(String name)
name - name of the management attributepublic void disableAllAttributes()
public Vector getEnabledAttributes()
public String toString()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||