Guice is a lightweight dependency injection framework for Java.
I've just started playing with Guice, and a use-case I can think of is that in a test I just …
java unit-testing guiceI stuck with a simple refactoring from plain java to spring. Application has a "Container" object which instantiates its parts …
java spring dependency-injection refactoring guiceI've been using Guice's AOP to intercept some method calls. My class implements an interface and I would like to …
java inheritance interface annotations guiceNovice here trying to use a dummy Java Facebook app that uses Guice to inject a database dependency into the …
java dependency-injection annotations guiceUsing Guice, is it a good practice to get a new injector in each JUnit test class, as each test …
java junit guice code-injectionLet's say I have a module: Module extends AbstractModule { @Override protected void configure() { bind(String.class). annotatedWith(Names.named("annotation")). …
java dependency-injection configuration annotations guiceI have a factory as below, public final class Application { private static IFoo foo; public static IFoo getFoo(String bar) { // …
java dependency-injection guiceI'm trying to make DI with Guice work, doing (as it seems to me) exactly what's in the manual. I …
java dependency-injection guiceI've read https://github.com/google/guice/wiki/AssistedInject, but it doesn't say how to pass in the values of …
java guice guice-3