Updates:
Summary: Disable Just-in-time bindings
Labels: Priority-High
Comment #1 on issue 342 by limpbizkit: Disable Just-in-time bindings
http://code.google.com/p/google-guice/issues/detail?id=342
Most applications use a huge number of JIT bindings. Every time you do a
linked binding:
bind(Foo.class).to(RealFoo.class)
...usually there isn't a binding for RealFoo, and Guice creates a JIT
binding for it.
Rather than throwing out JIT bindings (which are generally useful), I think
we want to add a configuration to
requires the @Inject annotation. Perhaps binder.requireInjectAnnotation() ?
--
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
-~----------~----~----~----~------~----~------~--~---