> On 6 Nov 2014, at 18:38, Ferry Huberts <[email protected]> wrote:
> 
> 
> 
> On 06/11/14 19:11, Balázs Zsoldos wrote:
>> You can call update on the system bundle that restarts the framework on
>> a different thread. See chapter "4.6 The System Bundle" of OSGi core spec.
>> 
> 
> Thanks, I'll try that!

For this to work properly it does require the cooperation of the launcher, 
which has to detect the FrameworkEvent.STOPPED_UPDATE response from 
Framework.waitForStop(). As far as I know the bnd launcher does *not* do this, 
unfortunately.

Neil

> _______________________________________________
> 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