[jboss-dev-forums] [Design of POJO Server] - Re: @JMX aspect and aop/mc integration
bstansberry@jboss.com
do-not-reply at jboss.com
Mon Nov 13 23:48:11 EST 2006
Another problem I'm seeing is that many beans implement MBeanRegistration, but those callbacks aren't getting invoked. I think this is because the object registered with the MBeanServer is not the bean itself but rather a StandardMBean created in JMXIntroduction. That object doesn't implement MBeanRegistration.
With the beans I'm working with, it's actually not necessary to wrap them in a StandardMBean object before registering them. They are all already compliant standard mbeans of the X implements XMBean variety.
I'm going to play a bit and see if there's any issue with registering the beans directly.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3985690#3985690
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3985690
More information about the jboss-dev-forums
mailing list