Class GroovyTemplateAutoConfiguration.GroovyMarkupConfiguration
- java.lang.Object
- org.springframework.boot.autoconfigure.groovy.template.GroovyTemplateAutoConfiguration.GroovyMarkupConfiguration
- Enclosing class:
- GroovyTemplateAutoConfiguration
@Configuration @ConditionalOnClass(org.springframework.web.servlet.view.groovy.GroovyMarkupConfigurer.class) public static class GroovyTemplateAutoConfiguration.GroovyMarkupConfiguration extends Object
Constructor Summary
Constructors Constructor Description GroovyMarkupConfiguration(org.springframework.context.ApplicationContext applicationContext, GroovyTemplateProperties properties, org.springframework.beans.factory.ObjectProvider<groovy.text.markup.MarkupTemplateEngine> templateEngine)
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
checkTemplateLocationExists()
org.springframework.web.servlet.view.groovy.GroovyMarkupConfigurer
groovyMarkupConfigurer()
Constructor Detail
GroovyMarkupConfiguration
public GroovyMarkupConfiguration(org.springframework.context.ApplicationContext applicationContext, GroovyTemplateProperties properties, org.springframework.beans.factory.ObjectProvider<groovy.text.markup.MarkupTemplateEngine> templateEngine)
Method Detail
checkTemplateLocationExists
@PostConstruct public void checkTemplateLocationExists()
groovyMarkupConfigurer
@Bean @ConditionalOnMissingBean(org.springframework.web.servlet.view.groovy.GroovyMarkupConfig.class) @ConfigurationProperties(prefix="spring.groovy.template.configuration") public org.springframework.web.servlet.view.groovy.GroovyMarkupConfigurer groovyMarkupConfigurer()