class GrailsLayoutViewResolverPostProcessor extends java.lang.Object implements BeanDefinitionRegistryPostProcessor, Ordered
This BeanDefinitionRegistryPostProcessor replaces the existing jspViewResolver bean with GrailsLayoutViewResolver and moves the previous jspViewResolver bean configuration as an inner bean of GrailsLayoutViewResolver to be used as the innerViewResolver of it. Scaffolding plugin replaces jspViewResolver with it's own implementation and this solution makes it easier to customize the inner view resolver.
Type | Name and description |
---|---|
boolean |
enabled |
java.lang.String |
layoutViewResolverBeanParentName |
java.lang.Class<?> |
layoutViewResolverClass |
boolean |
markBeanPrimary |
int |
order |
Constructor and description |
---|
GrailsLayoutViewResolverPostProcessor
() |
Type Params | Return Type | Name and description |
---|---|---|
|
void |
postProcessBeanDefinitionRegistry(BeanDefinitionRegistry registry) |
|
void |
postProcessBeanFactory(ConfigurableListableBeanFactory beanFactory) |
Methods inherited from class | Name |
---|---|
class java.lang.Object |
java.lang.Object#wait(long, int), java.lang.Object#wait(long), java.lang.Object#wait(), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll() |
Groovy Documentation