You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@felix.apache.org by "Felix Meschberger (JIRA)" <ji...@apache.org> on 2009/09/23 07:57:15 UTC

[jira] Created: (FELIX-1630) Make WebConsole more independent

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.


[jira] Resolved: (FELIX-1630) Make WebConsole more independent

Posted by "Felix Meschberger (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/FELIX-1630?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Felix Meschberger resolved FELIX-1630.
--------------------------------------

    Resolution: Fixed

Implemented this dependency refactoring in Rev. 817967:

Create AbstractConfigurationPrinter from which new PreferencesConfigurationPrinter and ConfigurationAdminConfigurationPrinter extend. The latter two take the Preferences Service and Configuration Admin printing functionality formerly included in the ConfigurationRender itself. Also include the OSGi ServiceTracker in the bundle directly.

> 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.