org.qi4j.library.jmx
Interface ApplicationManagerService
- All Superinterfaces:
- Activatable, Composite, Identity, ServiceComposite
@Mixins(value=ApplicationManagerService.Mixin.class)
public interface ApplicationManagerService
- extends ServiceComposite, Activatable
Expose the Qi4j app as a "tree" of MBeans.
Other services should reuse the object names and create
nodes under the ones created here. For example:
Qi4j: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:
Qi4j: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 identity:
ObjectName serviceName = Qi4jMBeans.findService(mbeanServer, applicationName, serviceId);