[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
Sun May 31 10:50:56 EDT 2009


I've been looking into this a bit today as well and got a working Ejb3MetricsDeployer not requiring any further updates.

I basically changes those things to get it working:
- implement the ManagedObjectCreator interface and process the beans internally.
- I only create one KernelDeployment with all the metric beans.
- Additionally i had to drop the BeanMetaDataBuilder as the construtor was messing up the controllerContext target, so that it was not possible to retrieve any values from the statistics.

I'll attach the changes to the JIRA - so that you can take a look at that. I also have a basic testcase in the AS testsuite which i can commit later on.

One thing i see which still should be done is a proper MetaMapping for the getStats() which is a Map<Method, TimeStatistic>.
So you might want to look at @MetaMapping and MetaMapper - i can also provide further information how to do that.


View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4234329#4234329

Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4234329



More information about the jboss-dev-forums mailing list