On 2 August 2011 00:57, David Garcia <[email protected]> wrote:

> If i have
>
> bind(Iface.class).to(Impl.class);
>
> Is there any way to get programatically the implementation class bound
> to the interface?
>
> getImplClass(Iface.class) ->  Impl.class
>

Yes, you can use the SPI to find this sort of information:

   http://code.google.com/p/google-guice/wiki/ExtendingGuice

-- 
Cheers, Stuart

-- 
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