@Configuration @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, org.springframework.core.env.Environment environment, org.springframework.context.ApplicationContext applicationContext) |
| 修飾子と型 | メソッドと説明 |
|---|---|
void | checkTemplateLocationExists() |
com.samskivert.mustache.Mustache.Compiler | mustacheCompiler(com.samskivert.mustache.Mustache.TemplateLoader mustacheTemplateLoader) |
MustacheResourceTemplateLoader | mustacheTemplateLoader() |
cloneSE, equalsSE, finalizeSE, getClassSE, hashCodeSE, notifySE, notifyAllSE, toStringSE, waitSE, waitSE, waitSEpublic MustacheAutoConfiguration(MustacheProperties mustache, org.springframework.core.env.Environment environment, org.springframework.context.ApplicationContext applicationContext)
@PostConstructSE public void checkTemplateLocationExists()
@Bean @ConditionalOnMissingBean 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.