On 2017-05-30T11:04:29 +0200
Peter Kriens <peter.kri...@aqute.biz> wrote:
>
> You can always look in your own bundle first, I cannot see how that could 
> harm. Seems also nice to be able to override things.
> 

I defer to your greater experience on this one. :)

I hadn't actually considered that it might be nice to be able to
override external resources with those contained within the current
bundle.

I think I need to rework my approach a little. Right now, resources
*must* be exported in order to be resolvable via identifiers. It seems
like that would be counterproductive if a bundle wanted to override a
resource in the above manner. In the current formulation, the bundle
would have to state that it exported the package containing the
resource in order for the resolver service to inspect it, which would
then imply that it would also have to have copies of all of the
resources in the original package (because it would be advertising that
it provided the package and therefore the resolver might wire other
bundles directly to it).

M

Attachment: pgp5pk_vn2O3R.pgp
Description: OpenPGP digital signature

_______________________________________________
OSGi Developer Mail List
osgi-dev@mail.osgi.org
https://mail.osgi.org/mailman/listinfo/osgi-dev

Reply via email to