Skip to main content

Event Sevice: subscribe to a set of MBeans (registered or non-registered)

Posted by emcmanus on September 19, 2008 at 4:16 AM PDT

Shanliang Jiang talks about one of the main use cases of the Event Service from the new JMX API in this blog entry. You can use a wildcard ObjectName to subscribe to a set of MBeans. The Event Service tracks the arrival and departure of MBeans, so it will subscribe to new MBeans matching the pattern as they appear. The Event Service is already present in the latest draft of the JDK 7 API and you can try it out by downloading the latest snapshot.



Related Topics >>