-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Open
Labels
Description
From zorzella on September 30, 2009 12:29:24
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: http://code.google.com/p/google-guice/issues/detail?id=433
Reactions are currently unavailable