Searched refs:INJECTOR_NAME (Results 1 – 3 of 3) sorted by relevance
35 static final String INJECTOR_NAME = Injector.class.getName(); field in GuiceServletContextListener49 servletContext.setAttribute(INJECTOR_NAME, injector); in contextInitialized()55 servletContext.removeAttribute(INJECTOR_NAME); in contextDestroyed()
18 import static com.google.inject.servlet.GuiceServletContextListener.INJECTOR_NAME;47 fakeContextOne.setAttribute(eq(INJECTOR_NAME), isA(Injector.class)); in testTwoInjectors()50 fakeContextTwo.setAttribute(eq(INJECTOR_NAME), isA(Injector.class)); in testTwoInjectors()
89 expect(servletContext.getAttribute(GuiceServletContextListener.INJECTOR_NAME)) in setUp()