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 ?