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

Bug 317540

Summary: Create controller instance using createExecutableExtension instead of class.newInstance
Product: [RT] Riena Reporter: stuart donald <stuart.donald>
Component: UIAssignee: Project Inbox <riena.ui-inbox>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: christian.campo, christian.kesselheim
Version: unspecified   
Target Milestone: 3.0.0.M2   
Hardware: All   
OS: All   
Whiteboard:

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.