In GuiceBerry, it's common for tests to want to access the server's injector.
For
that, I want to be able to do something like:
bind(Injector.class).annotatedWith(ServerSide.class).toInstance(serverInjector);
Unfortunately, Guice currently arbitrarily forbids binding an Injector, even if
annotated.
Original issue reported on code.google.com by zorze...@gmail.com on 30 Sep 2009 at 4:29
Original issue reported on code.google.com by
zorze...@gmail.com
on 30 Sep 2009 at 4:29