In general ManagedObjects are generated based on the meta data attachments in the
deployers and exposed over ManagedDeployments (@see mainDeployer.getManagedDeployment)
So ManagementView load() gets all ManagedDeployments managed by ProfileService.
This basically means that when statistic MBeans are getting directly registered over the
MBeanServer (so no meta data attachments) are not visible to ProfileService.
The ProxyManagedDeploymentFactory has a install callback directly on ManagementView to
work around this problem. Additionally it provides some functionality to create a
ManagedObject based on a MBeanInfo (@see MBeanManagedObjectFactory).
So a basic view would not require any additional annotations, except there should be
different behavior for certain properties.
Maybe you also want to take a look at:
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4229210#...
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4229350#...
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&a...