@Configuration(proxyBeanMethods=false) @ConditionalOnClass(value={javax.servlet.Servlet.class,org.springframework.context.i18n.LocaleContextHolder.class,org.springframework.web.servlet.view.UrlBasedViewResolver.class}) @ConditionalOnWebApplication(type=SERVLET) @ConditionalOnProperty(name="spring.groovy.template.enabled", matchIfMissing=true) public static class GroovyTemplateAutoConfiguration.GroovyWebConfiguration extends Object
Constructor and Description |
---|
GroovyWebConfiguration() |
Modifier and Type | Method and Description |
---|---|
org.springframework.web.servlet.view.groovy.GroovyMarkupViewResolver |
groovyMarkupViewResolver(GroovyTemplateProperties properties) |
@Bean @ConditionalOnMissingBean(name="groovyMarkupViewResolver") public org.springframework.web.servlet.view.groovy.GroovyMarkupViewResolver groovyMarkupViewResolver(GroovyTemplateProperties properties)
Copyright © 2019 Pivotal Software, Inc.. All rights reserved.