Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 361329 - [ApplicationConfiguration] Introduce a factory for IEntryPoint registration
Summary: [ApplicationConfiguration] Introduce a factory for IEntryPoint registration
Status: RESOLVED FIXED
Alias: None
Product: RAP
Classification: RT
Component: RWT (show other bugs)
Version: 1.5   Edit
Hardware: All All
: P3 enhancement (vote)
Target Milestone: 1.5   Edit
Assignee: Frank Appel CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-10-19 01:34 EDT by Frank Appel CLA
Modified: 2012-03-08 17:58 EST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Frank Appel CLA 2011-10-19 01:34:09 EDT
The current configuration API allows to register IEntryPoint implementation as classes only. To improve the integration with DI capable containers like OSGi DS, Spring etc. there should be the possibility to gain access to the entry point instance before the IEntryPoint#createUI() method gets called. The easiest way to do so is probably to provide an registration possibility that uses an IEntryPointFactory.
Comment 1 Frank Appel CLA 2011-10-19 01:36:13 EDT
Commited a first version that should be completley backwards compatible in CVS-Head
Comment 2 Ralf Sternberg CLA 2012-03-08 17:58:38 EST
The IEntryPointFactory interface exists, is useful, and there doesn't seem to be a need for changes. Thanks Frank!