类 FreeMarkerAutoConfiguration
- java.lang.Object
- org.springframework.boot.autoconfigure.freemarker.FreeMarkerAutoConfiguration
@Configuration @ConditionalOnClass({freemarker.template.Configuration.class,org.springframework.ui.freemarker.FreeMarkerConfigurationFactory.class}) @EnableConfigurationProperties(FreeMarkerProperties.class) public class FreeMarkerAutoConfiguration extends Object
Auto-configuration
for FreeMarker.- 从以下版本开始:
- 1.1.0
嵌套类概要
嵌套类 修饰符和类型 类 说明 protected static class
FreeMarkerAutoConfiguration.FreeMarkerConfiguration
static class
FreeMarkerAutoConfiguration.FreeMarkerNonWebConfiguration
static class
FreeMarkerAutoConfiguration.FreeMarkerWebConfiguration
构造器概要
构造器 构造器 说明 FreeMarkerAutoConfiguration(org.springframework.context.ApplicationContext applicationContext, FreeMarkerProperties properties)
构造器详细资料
FreeMarkerAutoConfiguration
public FreeMarkerAutoConfiguration(org.springframework.context.ApplicationContext applicationContext, FreeMarkerProperties properties)
方法详细资料
checkTemplateLocationExists
@PostConstruct public void checkTemplateLocationExists()