Injector.findBindingsByType may work.

sam

On Thu, Jul 14, 2011 at 2:42 AM, Oleg Estekhin <[email protected]>wrote:

> Hi
>
> Suppose there are some bindings that bind MyType to @Named("first")
> MyTypeFirstImpl, @Named("second") MyTypeSecondImpl, etc.
> And it seems it is possbile to have a "default" binding as was discussed in
> http://groups.google.com/**group/google-guice/browse_**thread/thread/**
> ec8284768dbca6e5/**bed23508d4a6acc8<http://groups.google.com/group/google-guice/browse_thread/thread/ec8284768dbca6e5/bed23508d4a6acc8>
>
> But is there some way to get a list or map of all bindings of MyType
> similar to explicit mutibindings extension, like a map of
> {@Named(name)->MyType instance} for example?
> --
> You received this message because you are subscribed to the Google Groups
> "google-guice" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to google-guice+unsubscribe@**
> googlegroups.com <google-guice%[email protected]>.
> For more options, visit this group at http://groups.google.com/**
> group/google-guice?hl=en<http://groups.google.com/group/google-guice?hl=en>
> .
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"google-guice" 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?hl=en.

Reply via email to