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

Bug 347883

Summary: Create configuration API
Product: [RT] RAP Reporter: Frank Appel <fr.appel>
Component: RWTAssignee: Frank Appel <fr.appel>
Status: RESOLVED FIXED QA Contact:
Severity: enhancement    
Priority: P3 CC: ruediger.herrmann
Version: 1.5   
Target Milestone: 1.5 M7   
Hardware: All   
OS: All   
Whiteboard:

Description Frank Appel CLA 2011-06-01 01:35:58 EDT
Create an API that can be used for RWT application context initialization in arbitrary environments. With environments I mean standard webapp, OSGi bundle, integration with Spring etc.

The basic idea is to have ApplicationConfigurator interface that provides a configure( Application application ) callback method. The application instance that is passed to the callback method provides the possibility to set application specific handlers and infos (e.g. application.setServiceHandler( myHandler )).

This mechanism will replace the current configuration mechanisms in use. The ApplicationConfigurer will be registered as servlet context init parameter in web.xml or as service in an OSGi bundle.
Comment 1 Ralf Sternberg CLA 2012-05-17 14:39:42 EDT
The API described above has been contributed in RAP 1.5M1, and revised in 1.5M7. The interface is now called ApplicationConfiguration (which describes its purpose, not its functional principle). It can be registered as servlet context init parameter or as OSGi service.