@Configuration @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(GroovyTemplateProperties properties) |
Modifier and Type | Method and Description |
---|---|
GroovyMarkupViewResolver |
groovyMarkupViewResolver() |
public GroovyWebConfiguration(GroovyTemplateProperties properties)
@Bean @ConditionalOnMissingBean(name="groovyMarkupViewResolver") public GroovyMarkupViewResolver groovyMarkupViewResolver()
Copyright © 2018 Pivotal Software, Inc.. All rights reserved.