Open GoogleCodeExporter opened 9 years ago
Yes it is expected:
http://code.google.com/p/google-guice/wiki/Injections#Automatic_Injection
You can use the
http://google-guice.googlecode.com/git/javadoc/com/google/inject/util/Providers.
html#of(T) utility method to skip this automatic injection. Alternatively add a
@Provides method that returns the instance in your module:
http://code.google.com/p/google-guice/wiki/ProvidesMethods
Original comment by mccu...@gmail.com
on 29 May 2013 at 7:12
I see, thanks!
--
Original comment by rpvi...@gmail.com
on 29 May 2013 at 7:35
Original comment by sberlin
on 29 May 2013 at 7:42
Original issue reported on code.google.com by
rpvi...@gmail.com
on 29 May 2013 at 7:03