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

lucdew do-not-reply at jboss.com
Thu Aug 9 10:08:06 EDT 2007


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



More information about the jboss-user mailing list