@Configuration @ConditionalOnClass(value=org.springframework.web.servlet.view.groovy.GroovyMarkupConfigurer.class) public static class GroovyTemplateAutoConfiguration.GroovyMarkupConfiguration extends Object
Constructor and Description |
---|
GroovyMarkupConfiguration(ApplicationContext applicationContext,
GroovyTemplateProperties properties,
ObjectProvider<groovy.text.markup.MarkupTemplateEngine> templateEngine) |
Modifier and Type | Method and Description |
---|---|
void |
checkTemplateLocationExists() |
GroovyMarkupConfigurer |
groovyMarkupConfigurer() |
public GroovyMarkupConfiguration(ApplicationContext applicationContext, GroovyTemplateProperties properties, 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 GroovyMarkupConfigurer groovyMarkupConfigurer()
Copyright © 2019 Pivotal Software, Inc.. All rights reserved.