[jboss-dev-forums] [Design of Management Features on JBoss] - Re: How to Expose MBean Invocation Stats into admin-console?

ALRubinger do-not-reply at jboss.com
Wed May 27 15:14:29 EDT 2009


Aha, works now:

      final BeanMetaData bean = bmdb.getBeanMetaData();
  | 
  |       // Add the attachment
  |       du.addAttachment(BeanMetaData.class, bean);

...yielding:

ManagedDeployment: vfszip:/home/alrubinger/business/jboss/wc/jbossas/branches/Branch_5_x/build/output/jboss-5.1.0.GA/server/default/deploy/ejbthree1677.jar/
  | +++ ManagedComponent(name=org.jboss.ejb3.metrics.impl.BasicSessionMetrics, type=(ComponentType{type=MCBean, subtype=*}), compName=ejbthree1677.jar-metrics, attachment: org.jboss.ejb3.metrics.impl.BasicSessionMetrics
  | ++++++ properties: [removeCount, currentSize, maxSize, createCount, availableCount]
  | 

S,
ALR


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

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



More information about the jboss-dev-forums mailing list