public class ViewResolversBeanDefinitionParser extends Object implements BeanDefinitionParser
view-resolversMVC namespace element and register
All registered resolvers are wrapped in a single (composite) ViewResolver with its order property set to 0 so that other external resolvers may be ordered before or after it.
When content negotiation is enabled the order property is set to highest priority instead with the ContentNegotiatingViewResolver encapsulating all other registered view resolver instances. That way the resolvers registered through the MVC namespace form self-encapsulated resolver chain.
|Modifier and Type||Field and Description|
The bean name used for the
|Constructor and Description|
public BeanDefinition parse(Element element, ParserContext context)
Elementand register the resulting
BeanDefinitionRegistryembedded in the supplied
Implementations must return the primary
BeanDefinition that results
from the parse if they will ever be used in a nested fashion (for example as
an inner tag in a
<property/> tag). Implementations may return
null if they will not be used in a nested fashion.