|
Re: Context of SessionStoreListener [message #87226 is a reply to message #87111] |
Wed, 14 May 2008 14:20 |
Eclipse User |
|
|
|
Originally posted by: fappel.innoopract.com
Hi,
yes, it's one of the reasons why we introduced the ISessionStore
abstraction - to allow a 'defined' shutdown process.
ISessionStoreListener#beforeDestroy gets invoked before any attribute is
removed from the store. Furthermore the implementation ensures that
beforeDestoy is executed in the UIThread of the session - so
SessionSingletons should be accessible without any special treatment.
Ciao
Frank
-----Ursprüngliche Nachricht-----
Von: Stefan Röck [mailto:stefan.roeck@cas.de]
Bereitgestellt: Mittwoch, 14. Mai 2008 11:07
Bereitgestellt in: eclipse.technology.rap
Unterhaltung: Context of SessionStoreListener
Betreff: Context of SessionStoreListener
Hi,
is it guaranteed that the SessionStoreListener#beforeDestroy listener is
always called in the context of the session that is destroyed? Can I
access SessionSingletons without the danger of being diposed already?
Regards,
Stefan.
|
|
|
|
Powered by
FUDForum. Page generated in 0.02886 seconds