@Configuration(proxyBeanMethods=false) @ConditionalOnClass(value=com.samskivert.mustache.Mustache.class) @EnableConfigurationProperties(value=MustacheProperties.class) @Import(value={org.springframework.boot.autoconfigure.mustache.MustacheServletWebConfiguration.class,org.springframework.boot.autoconfigure.mustache.MustacheReactiveWebConfiguration.class}) public class MustacheAutoConfiguration extends ObjectSE
Auto-configuration
。コンストラクターと説明 |
---|
MustacheAutoConfiguration(MustacheProperties mustache, ApplicationContext applicationContext) |
修飾子と型 | メソッドと説明 |
---|---|
void | checkTemplateLocationExists() |
com.samskivert.mustache.Mustache.Compiler | mustacheCompiler(com.samskivert.mustache.Mustache.TemplateLoader mustacheTemplateLoader, Environment environment) |
MustacheResourceTemplateLoader | mustacheTemplateLoader() |
cloneSE, equalsSE, finalizeSE, getClassSE, hashCodeSE, notifySE, notifyAllSE, toStringSE, waitSE, waitSE, waitSE
public MustacheAutoConfiguration(MustacheProperties mustache, ApplicationContext applicationContext)
public void checkTemplateLocationExists()
@Bean @ConditionalOnMissingBean public com.samskivert.mustache.Mustache.Compiler mustacheCompiler(com.samskivert.mustache.Mustache.TemplateLoader mustacheTemplateLoader, Environment environment)
@Bean @ConditionalOnMissingBean(value=com.samskivert.mustache.Mustache.TemplateLoader.class) public MustacheResourceTemplateLoader mustacheTemplateLoader()