felix-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Felix Meschberger (JIRA)" <j...@apache.org>
Subject [jira] Commented: (FELIX-2117) Use DynamicImport instead of Optional Packages
Date Wed, 17 Mar 2010 06:48:27 GMT

    [ https://issues.apache.org/jira/browse/FELIX-2117?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12846320#action_12846320
] 

Felix Meschberger commented on FELIX-2117:
------------------------------------------

This might make perfect sense. But it would probably require rewriting of some plugins which
currently do not load if the dependency is satisified.

When switching to dynamic imports, the plugins must load and operate without the API being
present and start doing useful things when the API is present.

> Use DynamicImport instead of Optional Packages
> ----------------------------------------------
>
>                 Key: FELIX-2117
>                 URL: https://issues.apache.org/jira/browse/FELIX-2117
>             Project: Felix
>          Issue Type: Improvement
>          Components: Web Console
>            Reporter: Valentin Valchev
>
> Currently the web console uses optional packages for some plugins.
> Unfortunately an 'optional' import is wired when the bundle is resolved.
> DynamicImport however is wired when the package is accessed.
> This means, that currently, you 
> - install webconsole
> - install scr
> = scr plugin is not available
> - resolve webconsole (again)
> = scr plugin is available after 1 additional step
> However if DynamicImport is used, the SCR plugin will become available immediately after
it is being installed.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message