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

Bug 402652

Summary: Provide helper for application singletons
Product: [RT] RAP Reporter: Ralf Sternberg <rsternberg>
Component: RWTAssignee: Project Inbox <rap-inbox>
Status: RESOLVED FIXED QA Contact:
Severity: enhancement    
Priority: P3    
Version: 2.1   
Target Milestone: 2.3   
Hardware: PC   
OS: Linux   
Whiteboard:

Description Ralf Sternberg CLA 2013-03-07 08:56:10 EST
The class SingletonUtil provides support for UISession singletons. We should add a similar method for application singletons.

This would reduce the effort required for creating application-scoped instances lazily, e.g. in custom components.
Comment 1 Ivan Furnadjiev CLA 2014-07-21 06:28:55 EDT
Method org.eclipse.rap.rwt.SingletonUtil.getUniqueInstance(Class<T>, ApplicationContext) has been added in RAP 2.3.