In my case, the last binding should be a singleton too, though :

//...
bind(typeLiteral).to((Class)getServerClass())*.**in(Scopes.SINGLETON**)*; 


 

-- 
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/a8ffef06-cd97-433a-8f38-b15b6e707c03%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to