@Configuration(proxyBeanMethods=false) public class ProjectingArgumentResolverRegistrar extends Object
BeanPostProcessor
to augment RequestMappingHandlerAdapter
with a
ProxyingHandlerMethodArgumentResolver
.Constructor and Description |
---|
ProjectingArgumentResolverRegistrar() |
Modifier and Type | Method and Description |
---|---|
static org.springframework.data.web.config.ProjectingArgumentResolverRegistrar.ProjectingArgumentResolverBeanPostProcessor |
projectingArgumentResolverBeanPostProcessor(ObjectFactory<ConversionService> conversionService)
Registers a
BeanPostProcessor to modify RequestMappingHandlerAdapter beans in the application
context to get a ProxyingHandlerMethodArgumentResolver configured as first
HandlerMethodArgumentResolver . |
@Bean public static org.springframework.data.web.config.ProjectingArgumentResolverRegistrar.ProjectingArgumentResolverBeanPostProcessor projectingArgumentResolverBeanPostProcessor(@Qualifier(value="mvcConversionService") ObjectFactory<ConversionService> conversionService)
BeanPostProcessor
to modify RequestMappingHandlerAdapter
beans in the application
context to get a ProxyingHandlerMethodArgumentResolver
configured as first
HandlerMethodArgumentResolver
.conversionService
- the Spring MVC ConversionService
in a lazy fashion, so that its initialization is
not triggered yet.Copyright © 2011–2021 Pivotal Software, Inc.. All rights reserved.