public class Sitemesh3EnvironmentPostProcessor extends java.lang.Object implements EnvironmentPostProcessor
Seeds default properties consumed by the upstream
SiteMeshViewResolverAutoConfiguration:
sitemesh.integration=view-resolver — activates the Spring
MVC ViewResolver integration instead of the servlet-filter
integration.sitemesh.viewResolver.wrapMode=bean-instance — selects
the live-bean SiteMeshViewResolverBeanPostProcessor. The
default bean-definition variant cannot find
gspViewResolver because its bean definition is registered
after BeanDefinitionRegistryPostProcessors fire.sitemesh.viewResolver.targetBeanName=gspViewResolver —
tells the post-processor which view resolver to wrap (the default is
jspViewResolver).Each value is only set when absent so an application can opt-out by explicitly setting any of these properties.
| Modifiers | Name | Description |
|---|---|---|
static java.lang.String |
PROPERTY_SOURCE_NAME |
| Type Params | Return Type | Name and description |
|---|---|---|
|
public void |
postProcessEnvironment(ConfigurableEnvironment environment, SpringApplication application) |
| Methods inherited from class | Name |
|---|---|
class java.lang.Object |
java.lang.Object#equals(java.lang.Object), java.lang.Object#getClass(), java.lang.Object#hashCode(), java.lang.Object#notify(), java.lang.Object#notifyAll(), java.lang.Object#toString(), java.lang.Object#wait(), java.lang.Object#wait(long), java.lang.Object#wait(long, int) |