Hi Neil,

Thank you very much for your quick response to my question.
I see, I understand.

Let me make sure if I understood right.
When BundleB is tried to resolved, the resolving process for
BumdleA is executed at that time.
In this case, because BundleA cannot be resolved, package 'q' is
not exported (and BundleB cannot import the package q from BundleA).

If so, is the definition of it described in the spec?
As far as I checked, I couldn't find the distinct description.


Best regards,

Shige




On Mon, 04 Jun 2012 13:30:38 +0100
Neil Bartlett <[email protected]> wrote:

> Kondo-san,
> 
> In both cases the answer is no. If BundleA does not resolve -- i.e. 
> because either of its imported packages are not satisfied -- then none 
> of its exports are available to be imported by other bundles. Therefore 
> BundleB will not resolve unless an alternative provider of the "q" 
> package can be found.
> 
> Kind regards,
> Neil Bartlett
> 
> > Shigekuni Kondo <mailto:[email protected]>
> > 4 June 2012 13:08
> > Hi OSGi Experts,
> >
> >
> > I have questions about Export Package in Core spec(R4.3).
> >
> >
> > [Condition]
> > BundleA: Import-Package: p, r
> > Export-Package: q; uses:=p
> > BundleB: Import-Package: q
> > BundleC: Export-Package: p
> > BundleD: Export-Package: r
> >
> >
> > [Question]
> > 1.
> > When BundleA, B, C are installed (not BundleD), BundleA cannot
> > be resolved in this situation.
> > In this case, can BundleA export the package 'q'?
> > In other words, can BundleB import the package 'q' from BundleA
> > when BunldeB is tried to resolve?
> >
> > 2.
> > When BundleA, B, D are installed (not BundleC), BundleA cannot
> > be resolved in this situation.
> > In this case, can BundleA export the package 'q'?
> > In other words, can BundleB import the package 'q' from BundleA
> > when BunldeB is tried to resolve?
> >
> >
> > Best regards,
> >
> > Shige
> >
> > _____________________________________________
> >
> > Shigekuni Kondo
> >
> > Promotion Project 1
> > NTT Cyber Solutions Laboratories
> > NIPPON TELEGRAPH AND TELEPHONE CORPORATION
> >
> > 1-1 Hikarinooka Yokosuka
> > Kanagawa 239-0847 Japan
> > TEL:+81-46-859-3444
> > FAX:+81-46-855-1282
> > E-mail:[email protected]
> > _____________________________________________
> >
> >
> > _______________________________________________
> > OSGi Developer Mail List
> > [email protected]
> > https://mail.osgi.org/mailman/listinfo/osgi-dev

_____________________________________________

  Shigekuni Kondo

  Promotion Project 1
  NTT Cyber Solutions Laboratories
  NIPPON TELEGRAPH AND TELEPHONE CORPORATION

  1-1 Hikarinooka Yokosuka
  Kanagawa 239-0847 Japan
  TEL:+81-46-859-3444
  FAX:+81-46-855-1282
  E-mail:[email protected]
_____________________________________________


_______________________________________________
OSGi Developer Mail List
[email protected]
https://mail.osgi.org/mailman/listinfo/osgi-dev

Reply via email to