|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object | +--javax.management.AttributeChangeNotificationFilter
Provides a filter for the AttributeChangeNotification.
| Constructor Summary | |
AttributeChangeNotificationFilter()
|
|
| Method Summary | |
void |
disableAllAttributes()
Disable all attribute notifications |
void |
disableAttribute(java.lang.String name)
Disables the given attribute. |
void |
enableAttribute(java.lang.String name)
Enable the Notification for the given attribute name. |
boolean |
equals(java.lang.Object obj)
Checks the given object for equality. |
java.util.Vector |
getEnabledAttributes()
Returns the list of all enabled attributes for notification. |
int |
hashCode()
Returns the hashCode. |
boolean |
isNotificationEnabled(Notification notification)
Checks if the given Notification is enabled. |
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public AttributeChangeNotificationFilter()
| Method Detail |
public int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic void enableAttribute(java.lang.String name)
name - The name of the attribute to be enabled.
RuntimeOperationException - Wraps an IllegalArgumentException when
the value of the given name is null.public void disableAttribute(java.lang.String name)
Note: This ignores operation when the given name is null.
name - The attribute name to be disabled.public void disableAllAttributes()
public java.util.Vector getEnabledAttributes()
Vector containing the attributes for notificationspublic boolean isNotificationEnabled(Notification notification)
The notification needs to be an instance of AttributeChangeNotification
It checks the attribute name and checked it against the enabled attributes
contained in this filter.
isNotificationEnabled in interface NotificationFilterAttributeChangeNotification, false otherwise.
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||