The Knopflerfish OSGi Desktop displays a graphical overview of the OSGi framework. Most common operations as install, start, stop and update can be performed on bundles using the desktop. Additionally, bundle and service detail information is shown, and an experimental "Save deploy archive" is incluced.
The desktop is a standard OSGi bundle, using Swing. The desktop is primarily designed to manage a locally running framework, but can be used to control a remote framework, using the optional SOAP bundles. Consult the description of how to activate the "Remote framework..." menu item.
Additionally, the HTTP console or the Telnet console bundle can always be used for remote control. Both are available in the KF bundle repository.
The desktop can be customized using plugin services, see SwingBundleDisplayer for details.
When started, it creates a window with four main areas:
View -> Large Icons
![]() |
Bundle which has a BundleActivator |
![]() |
Active bundle |
![]() |
"Library" bundle which has no BundleActivator |
Bundles can be selected by clicking.
View -> Details
Bundles can be selected by clicking.
View -> Graph
Dependencies between bundles and services are shown as connecting lines. Not how the console bundle depends on three other bundles in the image above.
Bundles can be selected by clicking.
Name | Description | Value type | Default value |
---|---|---|---|
org.knopflerfish.bundle.desktop.event.EventTableModel.capacity | The maximum number of events to keep in memory in one event view. Use a negative value (i.e., a value smaller than 1) to indicate that old event shall never be removed. | int | 342 |
org.knopflerfish.desktop.display.main | The name of the default bundle displayer to show in the desktop's main frame when starting. | String | Large Icons |
org.knopflerfish.desktop.updateisupdate |
If true use the OSGi update operation to update
bundles, if false uninstall the old bundle, do a
package refresh then install the new bundle. Note that in the
latter case the updated bundle will get a new bundle id and
the bundle will thus loose all data stored in its data
directory.
When updating the desktop bundle itself the value of this property is ignored, the OSGi update method is allways used. |
boolean | true |
org.knopflerfish.bundle.log.window.impl.LogTableModel.capacity | The maximum number of log entries to keep in memory in one log view. Use a negative value (i.e., a value smaller than 1) to indicate that old entries shall never be removed. | int | 342 |