- All Implemented Interfaces:
- org.springframework.beans.factory.Aware, org.springframework.context.annotation.ImportBeanDefinitionRegistrar, org.springframework.context.EnvironmentAware
- Enclosing class:
- GspAutoConfiguration
protected static class GspAutoConfiguration.RemoveDefaultViewResolverRegistrar
extends java.lang.Object
implements org.springframework.context.annotation.ImportBeanDefinitionRegistrar, org.springframework.context.EnvironmentAware
WebMvcAutoConfiguration adds defaultViewResolver and viewResolver beans.
This ImportBeanDefinitionRegistrar removes the defaultViewResolver and replaces
the viewResolver bean with GSP view resolver by default.
The behavior of this class can be controlled with spring.gsp.removeDefaultViewResolver and
spring.gsp.replaceViewResolverBean configuration properties.