Re: [osgi-dev] Service binding issue and package wiring

2020-03-11 Thread Clément Delgrange via osgi-dev
Member, IBM // office: +1 386 848 1781 > OSGi Fellow and CTO of the OSGi Alliance // mobile: +1 386 848 3788 > hargr...@us.ibm.com > >> - Original message - >> From: "Clément Delgrange via osgi-dev" >> Sent by: osgi-dev-boun...@mail.osgi.org >>

Re: [osgi-dev] Service binding issue and package wiring

2020-03-11 Thread BJ Hargrave via osgi-dev
Sent by: osgi-dev-boun...@mail.osgi.org To: OSGi Developer Mail List <osgi-dev@mail.osgi.org> Cc: Subject: [EXTERNAL] [osgi-dev] Service binding issue and package wiring Date: Wed, Mar 11, 2020 08:13   Hi all,   I have some sparse service binding issues at runtime that I think are related at

Re: [osgi-dev] Service binding issue and package wiring

2020-03-11 Thread Raymond Auge via osgi-dev
can be used >> at runtime. >> -- >> >> BJ Hargrave >> Senior Technical Staff Member, IBM // office: +1 386 848 1781 >> OSGi Fellow and CTO of the OSGi Alliance // mobile: +1 386 848 3788 >> hargr...@us.ibm.com >> >> >> >> - Original

Re: [osgi-dev] Service binding issue and package wiring

2020-03-11 Thread Clément Delgrange via osgi-dev
gt;> - Original message - >>> From: "Clément Delgrange via osgi-dev" >>> Sent by: osgi-dev-boun...@mail.osgi.org >>> To: OSGi Developer Mail List >>> Cc: >>> Subject: [EXTERNAL] [osgi-dev] Service binding issue and package wiring >&g

Re: [osgi-dev] Service binding issue and package wiring

2020-03-11 Thread Raymond Auge via osgi-dev
-dev-boun...@mail.osgi.org > To: OSGi Developer Mail List > Cc: > Subject: [EXTERNAL] [osgi-dev] Service binding issue and package wiring > Date: Wed, Mar 11, 2020 08:13 > > Hi all, > > I have some sparse service binding issues at runtime that I think are > related at how m

Re: [osgi-dev] Service binding issue and package wiring

2020-03-11 Thread BJ Hargrave via osgi-dev
Since both bundles B and C offer to export the api.a package, the framework could resolve both bundles to each export the package. Thus you can end up with 2 exports of the api.a package in the framework. So bundle D will import api.a from either bundle B or bundle C and thus will not be able to

[osgi-dev] Service binding issue and package wiring

2020-03-11 Thread Clément Delgrange via osgi-dev
Hi all, I have some sparse service binding issues at runtime that I think are related at how my bundles export packages. Here is what I have: - Bundle A exports API package api.a and is not resolvable (not present at runtime). - Bundle B provides api.a.Service1 service and export/import api.a