Ah, so that is how it works!, pretty cool ;-) Peter
On Wed, Apr 28, 2010 at 12:23 PM, Max Bowsher <[email protected]> wrote: > On 28/04/10 08:23, Peter Reilly wrote: >> The specific problem of injecting non-static log4j Logger is possible with >> guice >> see: >> http://anyweight.blogspot.com/2009/07/injecting-log4j-loggers-via-guice.html > > Eek. Injecting a dummy Logger via Guice's normal injection just so you > can use @Inject, and then reinjecting the Logger you actually want as a > custom injection is rather horrid :-( > > Max. > > -- 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.
