Open GoogleCodeExporter opened 9 years ago
And interestingly, if AImpl contructor have String val parameter (public
AImpl(Injector inj, String val) {...}) everything works.
Original comment by marcis.m...@gmail.com
on 15 May 2011 at 7:28
This is working as designed. From the createChildInjector Javadoc,
"Just-in-time bindings created for child injectors will be created in an
ancestor injector whenever possible." To get your desired behavior, create an
explicit binding in the child injector's module.
Original comment by limpbizkit
on 15 May 2011 at 3:16
Original issue reported on code.google.com by
marcis.m...@gmail.com
on 15 May 2011 at 7:25