Skip to main content

Gemini Management 2.0.x Documentation

Gemini Management 2.0.x.RELEASE implements the JMX™ Specification Version 1.1 of the OSGi Enterprise Release 5 Specification, section 124. This specification may be downloaded here.

Gemini Management 1.0.x Documentation

Gemini Management 1.0.x.RELEASE 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.

Extensions to the Specification

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 id
  • CompositeData getProperty(long serviceId, String key) - get the value of a property of a particular service
  • TabularData listServices(String clazz, String filter) - get all services implementing an interface and satisfying a filter
  • TabularData listServices(String clazz, String filter, String... serviceTypeItems) - get all services implementing an interface, satisfying a filter and specifying particular properties
  • long[] getServiceIds() - get a list of all service ids

Both extensions are included in the next version 4.3 of the Enterprise Specification.

Wiki Documentation

Please refer to the Gemini Management wiki for further documentation

Back to the top