Make WebConsole more independent
--------------------------------
Key: FELIX-1630
URL: https://issues.apache.org/jira/browse/FELIX-1630
Project: Felix
Issue Type: Bug
Components: Web Console
Affects Versions: webconsole-1.2.10
Reporter: Felix Meschberger
Assignee: Felix Meschberger
Fix For: webconsole-1.2.12
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.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.