Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 278258

Summary: Rework ISessionStore#add/removeSessionStoreListener
Product: [RT] RAP Reporter: Rüdiger Herrmann <ruediger.herrmann>
Component: RWTAssignee: Project Inbox <rap-inbox>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3    
Version: unspecified   
Target Milestone: 1.3 M4   
Hardware: All   
OS: All   
Whiteboard:
Attachments:
Description Flags
Proposed solution none

Description Rüdiger Herrmann CLA 2009-05-28 13:45:06 EDT
Currently these methods throw an exception if the session store is (about to be) unbound.

As there is no thread-safe way to determine the state of a SessionStore before calling one of the methods, the outcome of the call is unpredictable.
The methods should be changed to return a boolean that indicates whether adding/removing the SessionStoreListener was successful instead of throwing an exception (will break binary compatibility with previous versions).
Comment 1 Rüdiger Herrmann CLA 2009-05-28 17:35:28 EDT
Once this is resolved, remove the workaround in UICallBackManager#blockCallBackRequest()
Comment 2 Rüdiger Herrmann CLA 2009-05-29 11:54:24 EDT
Created attachment 137668 [details]
Proposed solution

Does not throw exceptions anymore, instead the method return values indicate whether the operation was successful or not.
Comment 3 Rüdiger Herrmann CLA 2009-12-07 05:52:15 EST
Fixed in CVS HEAD