@Configuration(proxyBeanMethods=false) @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) |
Modifier and Type | Method and Description |
---|---|
void |
checkTemplateLocationExists() |
GroovyMarkupConfigurer |
groovyMarkupConfigurer(ObjectProvider<groovy.text.markup.MarkupTemplateEngine> templateEngine) |
public GroovyMarkupConfiguration(ApplicationContext applicationContext, GroovyTemplateProperties properties)
public void checkTemplateLocationExists()
@Bean @ConditionalOnMissingBean(value=org.springframework.web.servlet.view.groovy.GroovyMarkupConfig.class) @ConfigurationProperties(prefix="spring.groovy.template.configuration") public GroovyMarkupConfigurer groovyMarkupConfigurer(ObjectProvider<groovy.text.markup.MarkupTemplateEngine> templateEngine)