@Test public void testIsTarget() { replay(request, applicationContext); assertTrue(factory.isTarget("header")); assertFalse(factory.isTarget("requestScope")); assertTrue(factory.isTarget("applicationScope")); assertFalse(factory.isTarget("blah")); }
public boolean isTarget(String name) { return requestBeanInfo.getMappedDescriptors(Request.class).containsKey( name) || requestBeanInfo.getMappedDescriptors( ApplicationContext.class).containsKey(name); }
TilesContextVariableResolverFactory extends
        ReadOnlyVariableResolverFactory { public boolean isTarget(String name) { return requestBeanInfo.getMappedDescriptors(Request.class).containsKey( name) || requestBeanInfo.getMappedDescriptors( ApplicationContext.class).containsKey(name); } }
TilesContextVariableResolverFactory extends
        ReadOnlyVariableResolverFactory { public boolean isTarget(String name) { return requestBeanInfo.getMappedDescriptors(Request.class).containsKey( name) || requestBeanInfo.getMappedDescriptors( ApplicationContext.class).containsKey(name); } TilesContextVariableResolverFactory(TilesRequestContextHolder requestHolder); }
TilesContextVariableResolverFactory extends
        ReadOnlyVariableResolverFactory { public boolean isTarget(String name) { return requestBeanInfo.getMappedDescriptors(Request.class).containsKey( name) || requestBeanInfo.getMappedDescriptors( ApplicationContext.class).containsKey(name); } TilesContextVariableResolverFactory(TilesRequestContextHolder requestHolder); boolean isTarget(String name); @Override VariableResolver createVariableResolver(String name); }
TilesContextVariableResolverFactory extends
        ReadOnlyVariableResolverFactory { public boolean isTarget(String name) { return requestBeanInfo.getMappedDescriptors(Request.class).containsKey( name) || requestBeanInfo.getMappedDescriptors( ApplicationContext.class).containsKey(name); } TilesContextVariableResolverFactory(TilesRequestContextHolder requestHolder); boolean isTarget(String name); @Override VariableResolver createVariableResolver(String name);  }