You should be able to do this, so long as you're not playing crazy games with
classloaders. Class.forName() is not advisable, as you don't always get the
right classloader. But in principle this can work.
Christian.
On Apr 13, 2012, at 4:48 AM, Marko Lavikainen wrote:
> Can't you use Class.forName("classname") to get injectable class?
>
> --
> You received this message because you are subscribed to the Google Groups
> "google-guice" group.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/google-guice/-/vobIgFUrxPYJ.
> 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.
>
--
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.