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

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
_______________________________________________
OSGi Developer Mail List
[email protected]
https://mail.osgi.org/mailman/listinfo/osgi-dev

Reply via email to