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