@Configuration @ConditionalOnClass(value=com.samskivert.mustache.Mustache.class) @EnableConfigurationProperties(value=MustacheProperties.class) public class MustacheAutoConfiguration extends Object
Auto-configuration
for Mustache.Modifier and Type | Class and Description |
---|---|
protected static class |
MustacheAutoConfiguration.MustacheWebConfiguration |
Constructor and Description |
---|
MustacheAutoConfiguration() |
Modifier and Type | Method and Description |
---|---|
void |
checkTemplateLocationExists() |
com.samskivert.mustache.Mustache.Compiler |
mustacheCompiler(com.samskivert.mustache.Mustache.TemplateLoader mustacheTemplateLoader) |
MustacheResourceTemplateLoader |
mustacheTemplateLoader() |
@PostConstruct public void checkTemplateLocationExists()
@Bean @ConditionalOnMissingBean(value=com.samskivert.mustache.Mustache.Compiler.class) public com.samskivert.mustache.Mustache.Compiler mustacheCompiler(com.samskivert.mustache.Mustache.TemplateLoader mustacheTemplateLoader)
@Bean @ConditionalOnMissingBean(value=com.samskivert.mustache.Mustache.TemplateLoader.class) public MustacheResourceTemplateLoader mustacheTemplateLoader()
Copyright © 2019 Pivotal Software, Inc.. All rights reserved.