[jboss-dev-forums] [Design of Management Features on JBoss] - Re: How to Expose MBean Invocation Stats into admin-console?
emuckenhuber
do-not-reply at jboss.com
Thu May 7 06:33:02 EDT 2009
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#4229210
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4229350#4229350
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4229350
More information about the jboss-dev-forums
mailing list