To be able to move the ejb2 Container to an mc bean that also has an mbean registration I
either need the JMX annotation to have a property name which provides the ObjectName value
to use, or create the annotation dynamically and register it with the
DeploymentUnit.MutableMetaData as I see that the JMXLifecycleCallback is looking to the
ControllerContext.ScopeInfo.MetaData.
I assume DeploymentUnit.MutableMetaData.addAnnotation(jmx) ultimately shows up in the
ControllerContext.ScopeInfo.MetaData, but have not traced this all the way through yet.
What is the preferred approach?
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4137544#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...