Saving the state of the platform [message #64102] |
Tue, 28 March 2006 10:25 |
Eclipse User |
|
|
|
Originally posted by: bernhard.dorninger.NOSPAMscch.at
Hi,
I wonder if there is any other way to save the state of the platform than
to shutdown.
The doc for EclipseStarter.shutdown() says:
* Shuts down the Platform. The state of the Platform is not automatically
* saved before shutting down.
However, we urgently need to save the state of the OSGI and the runtime
each time we install a bundle. This because if we install a bundle via
bundlecontext and then the platform is killed (i.e. system power off,
process kill, vm crash due to native code failures) these bundles are not
present anymore on restart. Moreover, saving the state only on clean
shutdown violates the OSGI R3 spec, Section 4.8.3. I will also file a bug
concerning this issue.
Could anyone point out, which code to call/modify to achieve this (for
Eclipse 3.1.x)?
Is periodic/automatic save of the state possible in 3.2? (The relevant
section in the OSGI R4 core spec is 4.3.2).
Thanks for your answers,
Bernhard
--
|
|
|
Powered by
FUDForum. Page generated in 0.07257 seconds