Updates:
        Status: WontFix

Comment #1 on issue 740 by sberlin: Not obvious behavior of JIT bindings creations by parent
http://code.google.com/p/google-guice/issues/detail?id=740

Bad things will happen if the JIT binding is always created in the same injector by default, because of the way JIT bindings work in general.

However, if you call Binder.requireExplicitBindings(), it will disable JIT bindings while still allowing implicit bindings [the FooImpl in bind(Foo.class).to(FooImpl.class)], and that will force the implicit binding to be created in the same injector.

--
You received this message because you are subscribed to the Google Groups 
"google-guice-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/google-guice-dev?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to