You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "Christian Schneider (JIRA)" <ji...@apache.org> on 2012/10/22 13:38:12 UTC

[jira] [Commented] (DOSGI-20) Get rid of the DynamicImport-Package="*"

    [ https://issues.apache.org/jira/browse/DOSGI-20?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13481311#comment-13481311 ] 

Christian Schneider commented on DOSGI-20:
------------------------------------------

How about using the bundle classloader of the bundle that requests the service? It should know about all classes relevant to the service contract.
                
> Get rid of the DynamicImport-Package="*"
> ----------------------------------------
>
>                 Key: DOSGI-20
>                 URL: https://issues.apache.org/jira/browse/DOSGI-20
>             Project: CXF Distributed OSGi
>          Issue Type: Bug
>            Reporter: David Bosschaert
>
> The current DOSGi implementation uses DynamicImport-Package="*". While this is very convenient, it is potentially unpredictable and could have serious performance side effects. Therefore it would be better to remove this dependency and potentially use direct OSGi API to find the required package potentially via the PackageAdmin only when we need to do this type of thing i.e. when a proxy is created.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira