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