/external/guice/extensions/servlet/src/com/google/inject/servlet/ |
D | GuiceServletContextListener.java | 39 final ServletContext servletContext = servletContextEvent.getServletContext(); in contextInitialized() local 43 GuiceFilter.servletContext = new WeakReference<>(servletContext); in contextInitialized() 48 .set(servletContext); in contextInitialized() 49 servletContext.setAttribute(INJECTOR_NAME, injector); in contextInitialized() 54 ServletContext servletContext = servletContextEvent.getServletContext(); in contextDestroyed() local 55 servletContext.removeAttribute(INJECTOR_NAME); in contextDestroyed()
|
D | ManagedFilterPipeline.java | 49 private final Provider<ServletContext> servletContext; field in ManagedFilterPipeline 63 Provider<ServletContext> servletContext) { in ManagedFilterPipeline() argument 66 this.servletContext = servletContext; in ManagedFilterPipeline() 89 public synchronized void initPipeline(ServletContext servletContext) throws ServletException { in initPipeline() argument 98 filterDefinition.init(servletContext, injector, initializedSoFar); in initPipeline() 102 servletPipeline.init(servletContext, injector); in initPipeline() 116 initPipeline(servletContext.get()); in dispatch()
|
D | GuiceFilter.java | 71 static volatile WeakReference<ServletContext> servletContext = field in GuiceFilter 159 return servletContext.get(); in getServletContext() 223 final ServletContext servletContext = filterConfig.getServletContext(); 226 GuiceFilter.servletContext = new WeakReference<>(servletContext); 232 filterPipeline.initPipeline(servletContext); 245 servletContext.clear();
|
D | FilterDefinition.java | 89 final ServletContext servletContext, Injector injector, Set<Filter> initializedSoFar) in init() argument 119 return servletContext; in init()
|
D | ManagedServletPipeline.java | 76 public void init(ServletContext servletContext, Injector injector) throws ServletException { in init() argument 80 servletDefinition.init(servletContext, injector, initializedSoFar); in init()
|
D | ServletDefinition.java | 99 final ServletContext servletContext, Injector injector, Set<HttpServlet> initializedSoFar) in init() argument 128 return servletContext; in init()
|
/external/guice/extensions/servlet/test/com/google/inject/servlet/ |
D | InjectedFilterPipelineTest.java | 81 ServletContext servletContext = createMock(ServletContext.class); in testDispatchThruInjectedGuiceFilter() local 87 expect(filterConfig.getServletContext()).andReturn(servletContext).once(); in testDispatchThruInjectedGuiceFilter() 99 replay(filterConfig, servletContext, request, proceedingFilterChain); in testDispatchThruInjectedGuiceFilter() 108 verify(filterConfig, servletContext, request, proceedingFilterChain); in testDispatchThruInjectedGuiceFilter() 111 reset(filterConfig, servletContext, request, proceedingFilterChain); in testDispatchThruInjectedGuiceFilter() 118 expect(filterConfig.getServletContext()).andReturn(servletContext).once(); in testDispatchThruInjectedGuiceFilter() 129 replay(filterConfig, servletContext, request, proceedingFilterChain2, proceedingFilterChain); in testDispatchThruInjectedGuiceFilter() 138 verify(filterConfig, servletContext, request, proceedingFilterChain, proceedingFilterChain2); in testDispatchThruInjectedGuiceFilter()
|
D | FilterDefinitionTest.java | 58 ServletContext servletContext = createMock(ServletContext.class); in testFilterInitAndConfig() local 60 expect(servletContext.getServletContextName()).andReturn(contextName); in testFilterInitAndConfig() 62 replay(servletContext); in testFilterInitAndConfig() 71 filterDef.init(servletContext, injector, Sets.<Filter>newIdentityHashSet()); in testFilterInitAndConfig() 87 verify(binding, injector, servletContext); in testFilterInitAndConfig() 214 ServletContext servletContext = createMock(ServletContext.class); in testGetFilterIfMatching() local 236 filterDef.init(servletContext, injector, Sets.<Filter>newIdentityHashSet()); in testGetFilterIfMatching() 251 ServletContext servletContext = createMock(ServletContext.class); in testGetFilterIfMatchingNotMatching() local 273 filterDef.init(servletContext, injector, Sets.<Filter>newIdentityHashSet()); in testGetFilterIfMatchingNotMatching()
|
D | ServletDefinitionTest.java | 76 ServletContext servletContext = createMock(ServletContext.class); in testServletInitAndConfig() local 78 expect(servletContext.getServletContextName()).andReturn(contextName); in testServletInitAndConfig() 80 replay(servletContext); in testServletInitAndConfig() 82 servletDefinition.init(servletContext, injector, Sets.<HttpServlet>newIdentityHashSet()); in testServletInitAndConfig() 97 verify(injector, binding, servletContext); in testServletInitAndConfig()
|
D | FilterPipelineTest.java | 63 ServletContext servletContext = createMock(ServletContext.class); in testDispatchThruGuiceFilter() local 69 expect(filterConfig.getServletContext()).andReturn(servletContext).once(); in testDispatchThruGuiceFilter() 79 replay(filterConfig, servletContext, request, proceedingFilterChain); in testDispatchThruGuiceFilter() 88 verify(filterConfig, servletContext, request, proceedingFilterChain); in testDispatchThruGuiceFilter()
|
D | ContextPathTest.java | 55 private ServletContext servletContext; field in ContextPathTest 86 servletContext = globalControl.createMock(ServletContext.class); in setUp() 89 expect(servletContext.getAttribute(GuiceServletContextListener.INJECTOR_NAME)) in setUp() 92 expect(filterConfig.getServletContext()).andReturn(servletContext).anyTimes(); in setUp() 114 servletContext = null; in tearDown()
|
/external/guice/extensions/struts2/lib/ |
D | struts2-core-2.2.1.jar | META-INF/
META-INF/MANIFEST.MF
org/
org/apache/
org/ ... |
D | freemarker-2.3.16.jar | META-INF/
META-INF/MANIFEST.MF
freemarker/
freemarker/cache/
freemarker/ ... |
D | jsp-2.1.jar | META-INF/
META-INF/MANIFEST.MF
org/
org/apache/
org/ ... |