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

项目:https-github.com-g0t4-jenkins2-course-spring-boot    文件:ErrorMvcAutoConfiguration.java   
@Bean
@ConditionalOnMissingBean(BeanNameViewResolver.class)
public BeanNameViewResolver beanNameViewResolver() {
    BeanNameViewResolver resolver = new BeanNameViewResolver();
    resolver.setOrder(Ordered.LOWEST_PRECEDENCE - 10);
    return resolver;
}
项目:https-github.com-g0t4-jenkins2-course-spring-boot    文件:WebMvcAutoConfiguration.java   
@Bean
@ConditionalOnBean(View.class)
@ConditionalOnMissingBean
public BeanNameViewResolver beanNameViewResolver() {
    BeanNameViewResolver resolver = new BeanNameViewResolver();
    resolver.setOrder(Ordered.LOWEST_PRECEDENCE - 10);
    return resolver;
}
项目:https-github.com-g0t4-jenkins2-course-spring-boot    文件:SocialWebAutoConfiguration.java   
@Bean
@ConditionalOnMissingBean
@ConditionalOnProperty(prefix = "spring.social", name = "auto-connection-views")
public BeanNameViewResolver beanNameViewResolver() {
    BeanNameViewResolver viewResolver = new BeanNameViewResolver();
    viewResolver.setOrder(Ordered.HIGHEST_PRECEDENCE);
    return viewResolver;
}
项目:spring-boot-concourse    文件:ErrorMvcAutoConfiguration.java   
@Bean
@ConditionalOnMissingBean(BeanNameViewResolver.class)
public BeanNameViewResolver beanNameViewResolver() {
    BeanNameViewResolver resolver = new BeanNameViewResolver();
    resolver.setOrder(Ordered.LOWEST_PRECEDENCE - 10);
    return resolver;
}
项目:spring-boot-concourse    文件:WebMvcAutoConfiguration.java   
@Bean
@ConditionalOnBean(View.class)
@ConditionalOnMissingBean
public BeanNameViewResolver beanNameViewResolver() {
    BeanNameViewResolver resolver = new BeanNameViewResolver();
    resolver.setOrder(Ordered.LOWEST_PRECEDENCE - 10);
    return resolver;
}
项目:spring-boot-concourse    文件:SocialWebAutoConfiguration.java   
@Bean
@ConditionalOnMissingBean
@ConditionalOnProperty(prefix = "spring.social", name = "auto-connection-views")
public BeanNameViewResolver beanNameViewResolver() {
    BeanNameViewResolver viewResolver = new BeanNameViewResolver();
    viewResolver.setOrder(Ordered.HIGHEST_PRECEDENCE);
    return viewResolver;
}
项目:contestparser    文件:ErrorMvcAutoConfiguration.java   
@Bean
@ConditionalOnMissingBean(BeanNameViewResolver.class)
public BeanNameViewResolver beanNameViewResolver() {
    BeanNameViewResolver resolver = new BeanNameViewResolver();
    resolver.setOrder(Ordered.LOWEST_PRECEDENCE - 10);
    return resolver;
}
项目:contestparser    文件:WebMvcAutoConfiguration.java   
@Bean
@ConditionalOnBean(View.class)
public BeanNameViewResolver beanNameViewResolver() {
    BeanNameViewResolver resolver = new BeanNameViewResolver();
    resolver.setOrder(Ordered.LOWEST_PRECEDENCE - 10);
    return resolver;
}
项目:contestparser    文件:SocialWebAutoConfiguration.java   
@Bean
@ConditionalOnMissingBean
@ConditionalOnProperty(prefix = "spring.social", name = "auto-connection-views")
public BeanNameViewResolver beanNameViewResolver() {
    BeanNameViewResolver viewResolver = new BeanNameViewResolver();
    viewResolver.setOrder(Integer.MIN_VALUE);
    return viewResolver;
}
项目:spring4-understanding    文件:ViewResolverRegistry.java   
/**
 * Register a bean name view resolver that interprets view names as the names
 * of {@link org.springframework.web.servlet.View} beans.
 */
public void beanName() {
    BeanNameViewResolver resolver = new BeanNameViewResolver();
    this.viewResolvers.add(resolver);
}
项目:spring4-understanding    文件:ViewResolverRegistryTests.java   
@Test
public void beanName() {
    this.registry.beanName();
    assertEquals(1, this.registry.getViewResolvers().size());
    assertEquals(BeanNameViewResolver.class, registry.getViewResolvers().get(0).getClass());
}
项目:spring4-understanding    文件:WebMvcConfigurationSupportTests.java   
@Bean
public ViewResolver beanNameViewResolver() {
    return new BeanNameViewResolver();
}
项目:sabi    文件:RESTConfiguration.java   
@Bean
public org.springframework.web.servlet.ViewResolver viewResolver() {
    return new BeanNameViewResolver();
}
项目:sabi    文件:RESTConfiguration.java   
@Bean
public org.springframework.web.servlet.ViewResolver viewResolver() {
    return new BeanNameViewResolver();
}
项目:DependencyInjectionAgent    文件:MvcViewConfig.java   
@Bean
@Description("Used for 'xml' views")
public ViewResolver beanNameViewResolver() {
    return new BeanNameViewResolver();
}
项目:cfi-gov    文件:CfWebBirtConfig.java   
@Bean public BeanNameViewResolver beanNameResolver(){
    BeanNameViewResolver br = new BeanNameViewResolver() ;
    return br;
}
项目:glados-wiki    文件:ViewResolverContext.java   
@Bean
public BeanNameViewResolver beanNameViewResolver() {
    BeanNameViewResolver bnvr = new BeanNameViewResolver();
    bnvr.setOrder(1);
    return bnvr;
}
项目:recruiting-old-style    文件:WebApplicationConfig.java   
@Bean
public BeanNameViewResolver beanNameViewResolver() {
    BeanNameViewResolver viewResolver = new BeanNameViewResolver();
    viewResolver.setOrder(1);
    return viewResolver;
}
项目:Sound.je    文件:SpringConfig.java   
/**
 * Bean name view resolver view resolver.
 *
 * @return the view resolver
 */
@Bean
public ViewResolver beanNameViewResolver() {
    return new BeanNameViewResolver();
}