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 | [email protected] *EverIT Kft.* 1137 Budapest, Katona József utca 17. III. em. 2. http://www.everit.biz I [email protected] Ezen üzenet és annak bármely csatolt anyaga bizalmas, jogi védelem alatt áll, a nyilvános közléstől védett. Az üzenetet kizárólag a címzett, illetve az általa meghatalmazottak használhatják fel. Ha Ön nem az üzenet címzettje, úgy kérjük, hogy telefonon, vagy e-mail-ben értesítse erről az üzenet küldőjét és törölje az üzenetet, valamint annak összes csatolt mellékletét a rendszeréből. Ha Ön nem az üzenet címzettje, abban az esetben tilos az üzenetet vagy annak bármely csatolt mellékletét lemásolnia, elmentenie, az üzenet tartalmát bárkivel közölnie vagy azzal visszaélnie. This message and any attachment are confidential and are legally privileged. It is intended solely for the use of the individual or entity to whom it is addressed and others authorised to receive it. If you are not the intended recipient, please telephone or email the sender and delete this message and any attachment from your system. Please note that any dissemination, distribution, copying or use of or reliance upon the information contained in and transmitted with this e-mail by or to anyone other than the recipient designated above by the sender is unauthorised and strictly prohibited. On Thu, Nov 6, 2014 at 6:52 PM, Ferry Huberts <[email protected]> wrote: > 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). > > > -- > Ferry Huberts > _______________________________________________ > 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
