@Configuration(proxyBeanMethods=false) @ConditionalOnClass(value=org.springframework.web.servlet.view.groovy.GroovyMarkupConfigurer.class) public static class GroovyTemplateAutoConfiguration.GroovyMarkupConfiguration extends Object
Constructor and Description |
---|
GroovyMarkupConfiguration(org.springframework.context.ApplicationContext applicationContext,
GroovyTemplateProperties properties,
org.springframework.beans.factory.ObjectProvider<groovy.text.markup.MarkupTemplateEngine> templateEngine) |
Modifier and Type | Method and Description |
---|---|
void |
checkTemplateLocationExists() |
org.springframework.web.servlet.view.groovy.GroovyMarkupConfigurer |
groovyMarkupConfigurer(org.springframework.beans.factory.ObjectProvider<groovy.text.markup.MarkupTemplateEngine> templateEngine) |
public GroovyMarkupConfiguration(org.springframework.context.ApplicationContext applicationContext, GroovyTemplateProperties properties, org.springframework.beans.factory.ObjectProvider<groovy.text.markup.MarkupTemplateEngine> templateEngine)
@PostConstruct public void checkTemplateLocationExists()
@Bean @ConditionalOnMissingBean(value=org.springframework.web.servlet.view.groovy.GroovyMarkupConfig.class) @ConfigurationProperties(prefix="spring.groovy.template.configuration") public org.springframework.web.servlet.view.groovy.GroovyMarkupConfigurer groovyMarkupConfigurer(org.springframework.beans.factory.ObjectProvider<groovy.text.markup.MarkupTemplateEngine> templateEngine)
Copyright © 2019 Pivotal Software, Inc.. All rights reserved.