|Pre-Shutdown hooks [message #1734359]
||Tue, 07 June 2016 13:00
| Piero Campalani
Registered: January 2015
I am currently serializing my application model to a binary file, but I am having serious troubles.
Assuming that it might very well by some internal logic problem of my application, I am writing this to you too, just in case.
My model is in class A (which is also part of the Eclipse context), and it is mainly formed by a set of Java Maps.
Whatever the way I trigger the hook from the model class M (java Runtime, @PreDestroy, @PersistState), as soon as my model gets "touched" (that even means minimizing-->maximizing the TreeViewer that visualizes my model), only the first two maps of the model survive, while the others vanish (they get empty).
Might there be some rationale reason behind this black magic?
I verified the model is always fine right before triggering the closure of my application.
Thanks for any advice,
[Updated on: Tue, 07 June 2016 13:02]
Report message to a moderator
Powered by FUDForum
. Page generated in 0.02293 seconds