Updates:
Status: Invalid
Comment #1 on issue 360 by limpbizkit: Wrong scope visiting for
LinkedKeyBinding
http://code.google.com/p/google-guice/issues/detail?id=360
Actually this is working as designed. To compute the effective scope on a
linked binding, you need to follow
all of the links and take their intersection.
For example, consider:
bind(ArrayList.class).in(Scope1.class);
bind(List.class).to(ArrayList.class).in(Scope2.class);
bind(Collection.class).to(List.class).in(Scope3.class);
It wouldn't be unreasonable to create a helper method to aggregate all of
the scopes for a binding.
--
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
-~----------~----~----~----~------~----~------~--~---