Class FreeMarkerAutoConfiguration
java.lang.Object
org.springframework.boot.autoconfigure.freemarker.FreeMarkerAutoConfiguration
@AutoConfiguration
@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
- Author:
- Andy Wilkinson, Dave Syer, Kazuki Shimizu
-
Constructor Summary
ConstructorDescriptionFreeMarkerAutoConfiguration
(ApplicationContext applicationContext, FreeMarkerProperties properties) -
Method Summary
-
Constructor Details
-
FreeMarkerAutoConfiguration
public FreeMarkerAutoConfiguration(ApplicationContext applicationContext, FreeMarkerProperties properties)
-
-
Method Details
-
checkTemplateLocationExists
public void checkTemplateLocationExists()
-