|
||||||||||
PREV CLASS (src) NEXT CLASS (src) | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjavax.management.AttributeChangeNotificationFilter
Notification filter support for attribute change notifications.
AttributeChangeNotification
(src) ,
NotificationFilter
(src) ,
Serialized FormConstructor Summary | |
AttributeChangeNotificationFilter()
Constructs an attribute change notification filter. |
Method Summary | |
void |
disableAllAttributes()
Disables all attribute change notifications. |
void |
disableAttribute(java.lang.String name)
Disable the attribute change notifications of the given attribute. |
void |
enableAttribute(java.lang.String name)
Enables the attribute change notifications of the given attribute to be sent to the listener. |
java.util.Vector |
getEnabledAttributes()
Returns the names of the attributes whose notifications are allowed to pass this filter. |
boolean |
isNotificationEnabled(Notification (src) notification)
This method is called before a notification is sent to see whether the listener wants the notification. |
java.lang.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 (src) notification)
NotificationFilter (src)
isNotificationEnabled
in interface NotificationFilter (src)
notification
- the notification to be sent.
public void enableAttribute(java.lang.String name) throws java.lang.IllegalArgumentException
name
- name of the management attribute
java.lang.IllegalArgumentException
public void disableAttribute(java.lang.String name)
name
- name of the management attributepublic void disableAllAttributes()
public java.util.Vector getEnabledAttributes()
public java.lang.String toString()
|
||||||||||
PREV CLASS (src) NEXT CLASS (src) | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |