@Configuration @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() |
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()
Copyright © 2020 Pivotal Software, Inc.. All rights reserved.