OSGi Frameworks Tree
OSGi frameworks are displayed in a separate view in the Eclipse Workbench - the Frameworks view. The view arranges the OSGi frameworks in separate trees as you can unfold the tree of a connected framework and browse its components.
Basically, an OSGi framework tree has two display modes - Bundles and Services. In the Bundles (default) mode, the main components of the tree are the bundles, organized by category, the deployment packages, widgets and applications currently installed in the target framework. In the Services mode, the main components of the tree are the services registered in the OSGi framework.
Bundles Display Mode
You can observe the following hierarchy of components in the Bundles display mode:
Note: Following is the complete structure provided by mToolkit including base features and available extensions.
- Framework
- Application
- Application - An Application compatible with the OSGi Application Admin specification, currently available on the target framework. For example, such an applications might be eRCP applications, MIDlets, widgets, etc., depending on the application containers installed in the target framework.
- Bundles
- Bundle category - Bundles are sorted by category according to the value of the Bundle-Category manifest header of the relevant bundle.
- Bundle node - Bundles are displayed by symbolic name as set in the corresponding Bundle-SymbolicName manifest header, or if the symbolic name is missing - by name as set in the corresponding Bundle-Name manifest header. If the Bundle-Name header is not available either, then the bundle is shown by its file name. Optionally, you can choose to display bundle IDs and bundle versions as well. This is done via respectively the Show Bundles IDs and the Show Bundle Versions commands that appear when you right-click a bundle. Depending on the state a bundle is in - started or stopped, the framework tree shows the bundle with different icons.
- Registered services - Contains all services currently registered by this bundle.
- Service object class [Service ID] - Shows the service object class (aka service interface) under which a service of this bundle is registered. The ID of the service object implementing the object class is placed within the square brackets next to the object class name. Note that a single service object can be registered under more than one object class.
- Service property (shown upon selecting Show Service Properties from Frameworks view's pull-down menu) - Represents a specific property that the service is registered with, such as
objectClass
, service.id
, service.pid
, etc.
- Used Services - Contains all services of other bundles in the OSGi framework used by this bundle.
- Service object class [Service ID] - Shows the object class (aka service interface) of the used service object. The ID of the used service object implementing the object class is placed within the square brackets next to the object class name.
- Service property (shown upon selecting Show Service Properties from Frameworks view's pull-down menu) - Represents a specific property that the used service is registered with, such as
objectClass
, service.id
, service.pid
, etc.
- Deployment Packages
- Deployment
package - Deployment packages are shown by symbolic name according to the value of the DeploymentPackage-SymbolicName header of the package's manifest.
- Bundle node - Bundles are shown in the same way as in the Bundles sub-tree.
- Management Servers
(Available upon installing an extension)
- Management Server - An OMA-DM server that can manage remotely the target OSGi framework. To be able to connect an OSGi platform to an OMA-DM server, it must have an OMA-DM client installed.
- Widgets
(Available upon installing an extension)
- Widget - W3C widgets are shown by their name as defined in the widgetname tag of the config.xml files. To be able to install and manage W3C widgets, you have to enable a widget container on the target OSGi framework.
Services Display Mode
You can observe the following hierarchy of components in the Services display mode:
- Framework
- Service - Services are shown by object class and with ID
enclosed in square brackets. You can view the registration properties of a selected service
by using the Properties command from the context menu.
- Registered by - This node contains the bundle which has registered the service.
- Provider bundle node - Shows the bundle which has registered the service. The bundle is shown in the same way as in the Bundles display mode (see the previous section).
- Used by - This node contains the bundles which are currently using the service.
- Consumer bundle - Shows the bundle which is using the service. The bundle is shown in the same way as in the Bundles display mode (see the previous section).

OSGi Management Overview
Remote Console
Adding/Removing an OSGi Runtime
Configuring the Properties of an OSGi Runtime
Connecting to/Disconnecting from an OSGi Runtime
Managing Bundles
Managing Applications
Using the Remote Console
Opening the Web Admin Console inside Eclipse
Customizing OSGi Runtime Management
OSGi Runtime Management Troubleshooting
Frameworks View
Frameworks View Tree Icons
Frameworks View Menus and Toolbar
