[osgi-dev] restart the framework from within?

2014-11-06 Thread Ferry Huberts
Hi devs Is there a way to restart the framework from within a bundle running in it? I'm asking because I discovered that Java doesn't use monotonic timers for its Timers and then when NTP adjusts the clock the Timers get 'funny' (stop or go haywire, depending on the NTP time-adjust mode).

Re: [osgi-dev] restart the framework from within?

2014-11-06 Thread Balázs Zsoldos
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. *Zsoldos Balázs* Rendszertervező | Software architect +36 70 594 9234 | balazs.zsol...@everit.biz *EverIT Kft.* 1137 Budapest, Katona József utca

Re: [osgi-dev] restart the framework from within?

2014-11-06 Thread Ferry Huberts
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! ___ OSGi Developer Mail List

Re: [osgi-dev] restart the framework from within?

2014-11-06 Thread Neil Bartlett
On 6 Nov 2014, at 18:38, Ferry Huberts maili...@hupie.com 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

Re: [osgi-dev] restart the framework from within?

2014-11-06 Thread Ferry Huberts
On 06/11/14 22:39, Neil Bartlett wrote: On 6 Nov 2014, at 18:38, Ferry Huberts maili...@hupie.com 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