Affects Version/s: 1.1
Fix Version/s: 2.0
Operating System: Windows 2000
I don't know if it's a bug, but in the class
org.apache.commons.modeler.BaseModelMBean, the Notification that an attribute
value changed is sent before the value changes (The developer seemed to have a
doubt // XXX Is it before or after ?), so I have the following problem.
I have an MBean that extends BaseModelMBean and implements NotificationListener
to get informed of modification on the ManagedResource, but since the
notification is sent before the value is modified, I can't rely on the state of
the managed resource.
Furthermore, in the Javadocs, they say:
It's up to the MBean owning the attribute of interest to create and send
attribute change notifications when the attribute change occurs
And for ATTRIBUTE_CHANGE => Notification type which indicates that the observed
MBean attribute value HAS CHANGED.
The JAR Version is :