Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
webconsole-1.2.10
-
None
Description
Currently the WebConsole in general and parts of the included plugins depend on a number of OSGi compendium services to be present (at least for package wiring).
For example the ConfigurationRender plugin rendering the output of the ConfigurationPlugin services has dependencies on the Preferences Service API and the Configuration Admin API. If either or both API packages cannot be wired to the web console, the ConfigurationRender plugin fails to load and provide service. The fix here is factor out these two functionalities into separate ConfigurationRender implementations, which themselves may load or not depending on satisified dependencies.
Likewise the web console depends on the OSGi ServiceTracker to be exported by some other bundle. This may not always be the case (though the Felix framework exports this package in the system bundle). So the ServiceTracker should be included as a private package in the WebConsole for additional independence.