Customizing E4 Dependency Injection – Let's Give it a Shot

Session details
Session Type: 
Experience level: 

One of the central aspects in Eclipse 4 is Dependency Injection, and for many cases it works like a charm. This talk is motivated by two cases in which the magic fades a bit, because some effort is required to make it work:

1. Injecting legacy components which are not instantiated by the application model

This is an issue if you are not developing E4 RCP applications, but want to enhance the Eclipse IDE using E4 technologies.

2. Performing Dual Injection with E4DI and Guice

This is required if you want to build on both E4 and Xtext and need access to your Xtext DSL from an E4 part.

The talk will start with a short recap of the DI mechanism in E4, introduce the two cases and present approaches to address them along with a discussion of the benefits and shortcomings of those approaches.

Our Sponsors

For information about becoming a sponsor, please visit the EclipseCon Europe 2017 sponsor prospectus page.

Elite Dual ECE/OSGi CE



Club ECE Sponsor

IoT Theme Day

Project Quality Day

Smart Home Day


EclipseCon Support Other Events

Our Other Events

Eclipse events are hosted all over the world!

  • EclipseCon Europe 2018