Gemini Management implements the JMX Specification Version 1.0 of the OSGi Service Platform Enterprise Specification, Release 4, Version 4.2, section 124. This specification may be downloaded here.
Gemini Management extends the JMX Specification Version 1.0 interface BundleStateMBean with a method TabularData listBundles(int mask).
The original interface has the same method, but without arguments. It returns a TabularData object, containing all details for all bundles. The new method
allows to specify (through the mask) what details to be present in the result. For example, in this way only the ids of all bundles could be retrieved, without any
other details. In the case of a system with a large number of bundles this could considerably improve the performance since much less data is transferred through the
network connection.
Gemini Management also extends the ServiceStateMBean with methods for introspection of a single service:
CompositeData getService(long serviceId) - get service by its idCompositeData getProperty(long serviceId, String key) - get the value of a property of a particular serviceTabularData listServices(String clazz, String filter) - get all services implementing an interface and satisfying a filterTabularData listServices(String clazz, String filter, String... serviceTypeItems) - get all services implementing an interface, satisfying a filter and specifying particular propertieslong[] getServiceIds() - get a list of all service idsBoth extensions are included in the next version 4.3 of the Enterprise Specification.