クラス MustacheAutoConfiguration
java.lang.ObjectSE
org.springframework.boot.autoconfigure.mustache.MustacheAutoConfiguration
@AutoConfiguration
@ConditionalOnClass(com.samskivert.mustache.Mustache.class)
@EnableConfigurationProperties(MustacheProperties.class)
@Import({org.springframework.boot.autoconfigure.mustache.MustacheServletWebConfiguration.class,org.springframework.boot.autoconfigure.mustache.MustacheReactiveWebConfiguration.class})
public class MustacheAutoConfiguration
extends ObjectSE
Mustache 用の
Auto-configuration
。- 導入:
- 1.2.2
- 作成者:
- Dave Syer, Brian Clozel
コンストラクターのサマリー
コンストラクターコンストラクター説明MustacheAutoConfiguration
(MustacheProperties mustache, ApplicationContext applicationContext) メソッドのサマリー
修飾子と型メソッド説明void
com.samskivert.mustache.Mustache.Compiler
mustacheCompiler
(com.samskivert.mustache.Mustache.TemplateLoader mustacheTemplateLoader)
コンストラクターの詳細
MustacheAutoConfiguration
public MustacheAutoConfiguration(MustacheProperties mustache, ApplicationContext applicationContext)
メソッドの詳細
checkTemplateLocationExists
public void checkTemplateLocationExists()mustacheCompiler
@Bean @ConditionalOnMissingBean public com.samskivert.mustache.Mustache.Compiler mustacheCompiler(com.samskivert.mustache.Mustache.TemplateLoader mustacheTemplateLoader) mustacheTemplateLoader
@Bean @ConditionalOnMissingBean(com.samskivert.mustache.Mustache.TemplateLoader.class) public MustacheResourceTemplateLoader mustacheTemplateLoader()