Yes, that works.
Alternatively, you can define what are called "JMX Monitors" that observe the attributes
of certain MBeans under observation and emit notifications of attribute changes. Google
(or Yahoo! search) JMX Monitors.
Regards,
Kedar
[Message sent by forum member 'km' (km)]
http://forums.java.net/jive/thread.jspa?messageID=240950