... (in your application's constructor or init method) addComponentInstantiationListener(new ComponentInjector()); ...