I'll add a finer point and state that B's exports will still be available for 
others to wire to until all the bundles that are wired to B are refreshed.


Regards,
Alan

On May 14, 2010, at 2:25 AM, Rellermeyer Jan Simon wrote:

> Right, the exported package foo.bar.b will remain stale despite B being 
> uninstalled. The wire gets dropped/changed only when you explicitly refresh A 
> through the package admin, which could result in A falling back to installed 
> when there is no other matching exporter for foo.bar.b around. 
> 
> Cheers, 
> 
> Jan. 
> 
> ------------------------------------------------------------
> MSc Jan S. Rellermeyer
> Systems Group, Department of Computer Science, ETH Zurich 
> CAB E 78, Universitaetstrasse 6, CH-8092 Zürich, Switzerland
> http://www.systems.ethz.ch
> ------------------------------------------------------------ 
> 
>> -----Original Message-----
>> From: osgi-dev-boun...@mail.osgi.org [mailto:osgi-dev-
>> boun...@mail.osgi.org] On Behalf Of Roman Roelofsen
>> Sent: Freitag, 14. Mai 2010 11:14
>> To: OSGi Developer Mail List
>> Subject: Re: [osgi-dev] OSGi core wiring lifecycle question
>> 
>> On Friday, May 14, 2010 10:51:54 am David Bosschaert wrote:
>>> Hi all,
>>> 
>>> I have a bundle A that imports package foo.bar.b from bundle B so it
>>> gets wired to bundle B. When I uninstall bundle B what happens to
>> that
>>> wire?
>>> 
>>> Thanks,
>>> 
>>> David
>>> _______________________________________________
>>> OSGi Developer Mail List
>>> osgi-dev@mail.osgi.org
>>> https://mail.osgi.org/mailman/listinfo/osgi-dev
>> 
>> AFAIK, nothing will happen until you refresh (refresh package) bundle
>> A.
>> 
>> Roman
>> _______________________________________________
>> OSGi Developer Mail List
>> osgi-dev@mail.osgi.org
>> https://mail.osgi.org/mailman/listinfo/osgi-dev
> 
> _______________________________________________
> OSGi Developer Mail List
> osgi-dev@mail.osgi.org
> https://mail.osgi.org/mailman/listinfo/osgi-dev


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

Reply via email to