cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "David Bosschaert (JIRA)" <>
Subject [jira] [Commented] (DOSGI-20) Get rid of the DynamicImport-Package="*"
Date Fri, 15 Nov 2013 09:35:23 GMT


David Bosschaert commented on DOSGI-20:

bq.  Currently we do not have any information about the package version though.
We do actually. It's stored in the endpoint.package.version.<package-name> property
which should be available on the endpoint data. See table 122.1 in the Remote Service Admin

bq. The problem of choosing the wrong package is not worse than in the dynamic import case
This approach is certainly not ideal, but I think that the DynamicImport-Package=* is a lot
worse ;) since it can have a lot of nasty side effects...

bq. I did not think about the other possibility of defering the loadClass. This also sounds
very promising. I will look into both options.
Yeah, the deferring the loadClass option would be ideal if we can get that working...

> Get rid of the DynamicImport-Package="*"
> ----------------------------------------
>                 Key: DOSGI-20
>                 URL:
>             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 was sent by Atlassian JIRA

View raw message