I got it actually! :-)

<https://lh3.googleusercontent.com/-MCifgsSznho/Vo8LNIAlpXI/AAAAAAAAABE/vs-NNpb337I/s1600/ok.png>

Of course the last binding has to be done on "*getServerClass()*" not on "
*getServerType()*", but othewise your snippets works well! Thanks a lot!!

Now, let's say I want to be really, really fancy, and extract the 
parametrized type "*HttpServerExchange*" *from the getServerClass() return*... 
So the dev wouldn't even have to define "*getServerType()*"! Do you think 
it's possible? 

I'll try!

-- 
You received this message because you are subscribed to the Google Groups 
"google-guice" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/google-guice.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-guice/ec71afce-357e-47cb-ac13-76ec05370e0d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to