Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 317540 - Create controller instance using createExecutableExtension instead of class.newInstance
Summary: Create controller instance using createExecutableExtension instead of class.n...
Status: RESOLVED FIXED
Alias: None
Product: Riena
Classification: RT
Component: UI (show other bugs)
Version: unspecified   Edit
Hardware: All All
: P3 normal (vote)
Target Milestone: 3.0.0.M2   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-06-21 21:59 EDT by stuart donald CLA
Modified: 2010-10-29 06:23 EDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description stuart donald CLA 2010-06-21 21:59:53 EDT
I would like to be able to use Spring IOC to create controller instances. This should be possible by providing a custom IExecutableExtensionFactory implementation as described here : http://martinlippert.blogspot.com/2008/05/dependency-injecti on-for-extensions.html. This is not currently possible as the controller instance is created using the class.newInstance method rather than delegating to a factory method.

See this forum post for additional details: http://www.eclipse.org/forums/index.php?t=msg&th=170100&start=0&
Comment 1 Christian Campo CLA 2010-06-30 07:42:53 EDT
Bug is fixed in Riena 2.1.0.M1 or HEAD.