Please, provide a better description (at a higher level) of what you are trying to do... :)
What I'm trying to do should be pretty straigt forward:
I'm trying to get notification for attribute changes for an existing MBean. The idea is to be able to react to changes in MBean attribute values without having to use pooling.
An example would be:
The MBean - BasicThreadPoolMBean
The attribute - MaximumPoolSize
I would like to know if someone changes the maximum pool size, in order to report that to my monitoring tool as a significant event.
The easiest way to do it, is write an MBean that extends ListenerServiceMBeanSupport:
And configure it's subscription list to receive the notifications you are interested in:
Thanks, from what I read this is the answer. I will give it a try and report if there are any problems.