Java Mailing List Archive

http://www.junlu.com/

Home » Home (12/2007) » JBoss User Help »

[jboss-user] [Management, JMX/JBoss] - Dynamic ServiceMbean name

scott.stark@jboss.org

2007-08-09


Hi,

I would like to know if it's possible to override the MBean name of a ServiceName.

The name is defined statically in the jboss-service.xml file. Is it possible to change it while deploying the service ?

I have overriden the public ObjectName getServiceName() method of ServiceMBeanSupport and even set the serviceName attribute in the constructor. But when I use the JMX console the Mbean name is always the one defined in the jboss-service.xml.

Is it possible to change it ?

Would there be a mechanism to override the Mbean name like defining it in an external property file ?

Thanks in advance,
Luc

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

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4072530
_______________________________________________
jboss-user mailing list
jboss-user@(protected)
https://lists.jboss.org/mailman/listinfo/jboss-user
©2008 junlu.com - Jax Systems, LLC, U.S.A.