@Configuration @ConditionalOnMissingBean(name="defaultTemplateResolver") public static class ThymeleafAutoConfiguration.DefaultTemplateResolverConfiguration extends Object implements EnvironmentAware
Constructor and Description |
---|
ThymeleafAutoConfiguration.DefaultTemplateResolverConfiguration() |
Modifier and Type | Method and Description |
---|---|
void |
checkTemplateLocationExists() |
ITemplateResolver |
defaultTemplateResolver() |
void |
setEnvironment(Environment environment) |
protected SpringResourceResourceResolver |
thymeleafResourceResolver() |
public ThymeleafAutoConfiguration.DefaultTemplateResolverConfiguration()
public void setEnvironment(Environment environment)
setEnvironment
in interface EnvironmentAware
@PostConstruct public void checkTemplateLocationExists()
@Bean public ITemplateResolver defaultTemplateResolver()
@Bean protected SpringResourceResourceResolver thymeleafResourceResolver()
Copyright © 2014 Pivotal Software, Inc.. All rights reserved.