Comment by fungrim:

I may have missed this or simply failed my searches, but: Is there any way of performing the above using a standardized @Inject annotation? That is, as far as I understand, guice only calls the MembersInjector.injectMembers *after* it's own injection, thus failing (since in this example, Log4j's logger does not have a constructor that works).

So I guess what I'm asking is, can I intercept and replace a guice injection?

That way you could do custom injects without the need of specifying your own annotations.


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 [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-dev?hl=en.

Reply via email to