Hi guys, 

I have a servlet application that use reflection to find service class, for 
example a URL:

abc.com/contextroot/asdf?TX=TX1: A servlet is dedicated to 'asdf', it use 
'TX1' to lookup the configuration and get service class name, and use 
Class.forName().newInstance() to get the instance.

Now I want to integrated Guice into this system. And there and thousands of 
service class.....what's the right way to do it?
I can use annotation binding or @Named, but that will be thousands of class 
to change...
Can I put the reflection code (.newInstance()) into a provider? but the 
Provider interface 'get()' has no argument

klc

-- 
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 http://groups.google.com/group/google-guice.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-guice/fd20026d-f89e-494a-9180-c07eed9f2f95%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to