@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> templateEngineProvider) |
Modifier and Type | Method and Description |
---|---|
void |
checkTemplateLocationExists() |
GroovyMarkupConfigurer |
groovyMarkupConfigurer() |
public GroovyMarkupConfiguration(ApplicationContext applicationContext, GroovyTemplateProperties properties, ObjectProvider<groovy.text.markup.MarkupTemplateEngine> templateEngineProvider)
@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 © 2016 Pivotal Software, Inc.. All rights reserved.