Class 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) @Import({org.springframework.boot.autoconfigure.freemarker.FreeMarkerServletWebConfiguration.class,org.springframework.boot.autoconfigure.freemarker.FreeMarkerReactiveWebConfiguration.class,org.springframework.boot.autoconfigure.freemarker.FreeMarkerNonWebConfiguration.class}) public class FreeMarkerAutoConfiguration extends Object
Auto-configuration
for FreeMarker.- Since:
- 1.1.0
Constructor Summary
Constructors Constructor Description FreeMarkerAutoConfiguration(org.springframework.context.ApplicationContext applicationContext, FreeMarkerProperties properties)
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
checkTemplateLocationExists()
Constructor Detail
FreeMarkerAutoConfiguration
public FreeMarkerAutoConfiguration(org.springframework.context.ApplicationContext applicationContext, FreeMarkerProperties properties)
Method Detail
checkTemplateLocationExists
@PostConstruct public void checkTemplateLocationExists()