Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 344717 - Replace class SessionSingletonBase
Summary: Replace class SessionSingletonBase
Status: RESOLVED FIXED
Alias: None
Product: RAP
Classification: RT
Component: RWT (show other bugs)
Version: 1.4   Edit
Hardware: PC Linux
: P3 enhancement (vote)
Target Milestone: 2.0 M1   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-05-04 11:02 EDT by Ralf Sternberg CLA
Modified: 2012-07-26 06:01 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ralf Sternberg CLA 2011-05-04 11:02:03 EDT
Since SessionSingletonBase is not meant to be used as a base class anymore, we should rename it to avoid confusion.
I'd suggest to introduce a new class with a more suitable name such as SessionSingletonUtil or SingletonUtil.
The existing SSB would be changed to delegate to this new class and marked as deprecated.

SingletonUtil#getSessionInstance( Class )
Comment 1 Ivan Furnadjiev CLA 2012-07-26 06:01:30 EDT
SessionSingletonBase class has been replaced with SingletonUtil class as suggested. This class could handle application instances in the future too. Fixed with commit f112b496edf3582f46ce33a79b7b1b0af201a3c8.