Class GroovyTemplateAutoConfiguration.GroovyMarkupConfiguration
java.lang.Object
org.springframework.boot.autoconfigure.groovy.template.GroovyTemplateAutoConfiguration.GroovyMarkupConfiguration
- Enclosing class:
- GroovyTemplateAutoConfiguration
@Configuration(proxyBeanMethods=false)
@ConditionalOnClass(org.springframework.web.servlet.view.groovy.GroovyMarkupConfigurer.class)
public static class GroovyTemplateAutoConfiguration.GroovyMarkupConfiguration
extends Object
-
Constructor Summary
ConstructorDescriptionGroovyMarkupConfiguration
(ApplicationContext applicationContext, GroovyTemplateProperties properties) -
Method Summary
Modifier and TypeMethodDescriptionvoid
groovyMarkupConfigurer
(ObjectProvider<groovy.text.markup.MarkupTemplateEngine> templateEngine)
-
Constructor Details
-
GroovyMarkupConfiguration
public GroovyMarkupConfiguration(ApplicationContext applicationContext, GroovyTemplateProperties properties)
-
-
Method Details
-
checkTemplateLocationExists
public void checkTemplateLocationExists() -
groovyMarkupConfigurer
@Bean @ConditionalOnMissingBean(org.springframework.web.servlet.view.groovy.GroovyMarkupConfig.class) @ConfigurationProperties(prefix="spring.groovy.template.configuration") public GroovyMarkupConfigurer groovyMarkupConfigurer(ObjectProvider<groovy.text.markup.MarkupTemplateEngine> templateEngine)
-