[ 
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

Reply via email to