@Configuration @ConditionalOnClass(value={freemarker.template.Configuration.class,org.springframework.ui.freemarker.FreeMarkerConfigurationFactory.class}) @EnableConfigurationProperties(value=FreeMarkerProperties.class) @Import(value={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.Constructor and Description |
---|
FreeMarkerAutoConfiguration(ApplicationContext applicationContext,
FreeMarkerProperties properties) |
Modifier and Type | Method and Description |
---|---|
void |
checkTemplateLocationExists() |
public FreeMarkerAutoConfiguration(ApplicationContext applicationContext, FreeMarkerProperties properties)
@PostConstruct public void checkTemplateLocationExists()
Copyright © 2018 Pivotal Software, Inc.. All rights reserved.