Java 类org.springframework.web.servlet.view.tiles3.TilesViewResolver 实例源码

项目:spring-boot-web-app-base    文件:ConfigurationForTiles.java   
/**
 * Introduce a Tiles view resolver, this is a convenience implementation that extends URLBasedViewResolver.
 * 
 * @return tiles view resolver
 */
@Bean
public TilesViewResolver tilesViewResolver() {
    final TilesViewResolver resolver = new TilesViewResolver();
    resolver.setViewClass(TilesView.class);
    return resolver;
}
项目:spring-boot-web-mvc-tiles3-security    文件:ConfigurationForTiles.java   
/**
 * Introduce a Tiles view resolver, this is a convenience implementation that extends URLBasedViewResolver.
 * 
 * @return tiles view resolver
 */
@Bean
public TilesViewResolver tilesViewResolver() {
    final TilesViewResolver resolver = new TilesViewResolver();
    resolver.setViewClass(TilesView.class);
    return resolver;
}
项目:spring-boot-web-mvc-tiles3    文件:ConfigurationForTiles.java   
/**
 * Introduce a Tiles view resolver, this is a convenience implementation that extends URLBasedViewResolver.
 * 
 * @return tiles view resolver
 */
@Bean
public TilesViewResolver tilesViewResolver() {
    final TilesViewResolver resolver = new TilesViewResolver();
    resolver.setViewClass(TilesView.class);
    return resolver;
}
项目:spring4-understanding    文件:ViewResolverRegistry.java   
private TilesRegistration() {
    super(new TilesViewResolver());
}
项目:spring4-understanding    文件:ViewResolverRegistryTests.java   
@Test
public void tiles() {
    this.registry.tiles();
    checkAndGetResolver(TilesViewResolver.class);
}
项目:SpringBootTiles    文件:ConfigurationTiles.java   
@Bean
public TilesViewResolver tilesViewResolver() {
    final TilesViewResolver resolver = new TilesViewResolver();
    resolver.setViewClass(TilesView.class);
    return resolver;
}
项目:simplebank    文件:WebConfig.java   
@Override
public void configureViewResolvers(ViewResolverRegistry registry) {
    TilesViewResolver viewResolver = new TilesViewResolver();
    viewResolver.setViewClass(TilesView.class);
    registry.viewResolver(viewResolver);
}