Comment #2 on issue 342 by crazyboblee: Disable Just-in-time bindings http://code.google.com/p/google-guice/issues/detail?id=342
I'm just talking about JIT bindings from the user's perspective, not how it's implemented under the covers. For bind(Foo).to(FooImpl), we'll materialize the JIT binding under the covers either way. But, if FooImpl has a no-arg constructor and the user tries to inject FooImpl somewhere w/o creating an explicit binding, they get an error. To get rid of the error, they'd have to annotate FooImpl's constructor w/ @Inject or do this: bind(FooImpl.class); -- You received this message because you are listed in the owner or CC fields of this issue, or because you starred this issue. You may adjust your issue notification preferences at: http://code.google.com/hosting/settings --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "google-guice-dev" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/google-guice-dev?hl=en -~----------~----~----~----~------~----~------~--~---
