You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@felix.apache.org by "Guillaume Nodet (JIRA)" <ji...@apache.org> on 2010/03/02 23:46:27 UTC

[jira] Commented: (FELIX-2117) Use DynamicImport instead of Optional Packages

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

Guillaume Nodet commented on FELIX-2117:
----------------------------------------

I think using both makes sense.   The optional imports will make sure the package will be wired if it's available when the bundle is resolved instead of delaying it until it's used.

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