|
View:
New views
2 Messages
—
Rating Filter:
Alert me
|
|
|
MBeanServerNotificationFilter and ObjectName patternHello,
I want to listen to MBeanServerNotification related to some MBeans, therefore I use the MBeanServerNotificationFilter, but when specifying pattern ObjectName (with wildcard) in my filter criteria I do not receive the MBeanServerNotification I'm expecting. The test I made : MBeanServerNotificationFilter.enableObjectName(new ObjectName ("mydomain:mykey1=myvalue1,mykey2=myvalue2")) ==> notification correctly received MBeanServerNotificationFilter.enableObjectName(new ObjectName ("mydomain:*")) ==> No notification received MBeanServerNotificationFilter.enableObjectName(new ObjectName ("mydomain:mykey1=myvalue1,*")) ==> No notification received Does MBeanServerNotificationFilter.enableObjectName(ObjectName) support "pattern ObjectName" ? Thanks Elodie =========================================================================== For information on the Java Management extensions (JMX), please visit our home page at http://java.sun.com/products/JavaManagement/ The JMX-FORUM archives are accessible at http://archives.java.sun.com To unsubscribe, send email to listserv@... and include in the body of the message "signoff JMX-FORUM". For general help, send email to listserv@... and include in the body of the message "help". |
|
|
|
| Free Forum Powered by Nabble | Forum Help |