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

Sahoo commented on FELIX-2117:
------------------------------

How does Dynamic-ImportPackage work when it comes to ServiceTracker? We will 
probably have to track for services not reachable by webconsole bundle and deal 
with the ClassCastException. Comments?

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

Reply via email to