Using Factories in Class URI for Parts [message #870886] |
Thu, 10 May 2012 03:31  |
Eclipse User |
|
|
|
Hi E4 world,
I am currently getting my first experiences with E4 and the application model and trying to figure out what still may work the 3.x and possibly the "spring" way and what may not and possibly what should not work anymore.
Im my 3.x RCP applications I normally use something like org.eclipse.springframework.util.SpringExtensionFactory:myBeanName in class attributes in plugin.xml for views and handlers to create these using Spring DI. Eclipse detects that the class is an ExtensionFactory and uses the factory to create the actual view or handler. Is there a similar way and/or factory interface for parts in the E4 model? I can think of some useful cases where I still want my part to be created using spring application context although E4 DI will likely the reduce the need. But Spring still provides some possibilites for intercepting call using proxies for injected objects, easy remoting, jmx export and the like what is pretty useful in many cases.
Regards
Felix
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.13096 seconds