@groovy.transform.CompileStatic class ScaffoldingViewResolverDefinitionPostProcessor extends java.lang.Object implements BeanDefinitionRegistryPostProcessor, EnvironmentAware, Ordered
Registers the jspViewResolver bean definition as a
ScaffoldingViewResolver unless a definition already exists, replacing
the registration the plugin previously performed through the
doWithSpring() bean DSL. Registering a definition (with the same
abstractViewResolver parent the GSP plugin's default uses) rather
than building the resolver directly keeps the view-resolver configuration in
one place and preserves the established post-processor pipeline.
| Modifiers | Name | Description |
|---|---|---|
static int |
ORDER |
Runs before the SiteMesh 2 module's GrailsLayoutViewResolverPostProcessor
(GroovyPagesPostProcessor.ORDER - 1), which embeds the definition
registered here as its inner view resolver, and before
GroovyPagesPostProcessor itself, which contributes the plain GSP
resolver only when no definition exists by then. |
| Constructor and description |
|---|
ScaffoldingViewResolverDefinitionPostProcessor() |
| Type Params | Return Type | Name and description |
|---|---|---|
|
int |
getOrder() |
|
void |
postProcessBeanDefinitionRegistry(BeanDefinitionRegistry registry) |
|
void |
setEnvironment(Environment environment) |
| 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) |
Runs before the SiteMesh 2 module's GrailsLayoutViewResolverPostProcessor
(GroovyPagesPostProcessor.ORDER - 1), which embeds the definition
registered here as its inner view resolver, and before
GroovyPagesPostProcessor itself, which contributes the plain GSP
resolver only when no definition exists by then.