Expose the Polygene app as a "tree" of MBeans.
Other services should reuse the object names and create
nodes under the ones created here. For example:
Polygene:application=MyApp,layer=Application,module=MyModule,class=Service,service=MyService
is exported by this service, so another exporter showing some aspect related to this service should
use this as base for the ObjectName, and add their own properties. Example:
Polygene:application=MyApp,layer=Application,module=MyModule,class=Service,service=MyService,name=Configuration
Use the following snippet to find the ObjectName of a service with a given reference:
ObjectName serviceName = PolygeneMBeans.findService(mbeanServer, applicationName, serviceId);