Comment by noctariushtc:

Quote
This scheme does not support hooking into constructor injection. If you have ideas for how to incorporate that, please post them!

This can be done by using ProvisionListener in Guice 4 and some magic ;). You can take a look at my identity injection proposal http://groups.google.com/group/google-guice/browse_thread/thread/99b468834c7e3ad2d

In this class ProvisionListener and a ThreadLocal is used to accomplish the task of constructor injection (like the unittests show).
https://bitbucket.org/noctarius/guiceidentityinjection/src/014f6cb8fcc0/src/main/java/com/google/inject/identityinjection/IdentityProviderFactory.java

For more information:
http://code.google.com/p/google-guice/wiki/CustomInjections

--
You received this message because you are subscribed to the Google Groups 
"google-guice-dev" group.
To post to this group, send email to google-guice-dev@googlegroups.com.
To unsubscribe from this group, send email to 
google-guice-dev+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-guice-dev?hl=en.

Reply via email to