public class SpringBeanParameterResolverFactory extends ParameterResolverFactory implements org.springframework.beans.factory.config.BeanFactoryPostProcessor, org.springframework.context.ApplicationContextAware, org.springframework.context.ApplicationListener
| Constructor and Description |
|---|
SpringBeanParameterResolverFactory() |
| Modifier and Type | Method and Description |
|---|---|
protected ParameterResolver |
createInstance(Annotation[] memberAnnotations,
Class<?> parameterType,
Annotation[] parameterAnnotations)
If available, creates a ParameterResolver instance that can provide a parameter of type
parameterType for a given message. |
void |
onApplicationEvent(org.springframework.context.ApplicationEvent event) |
void |
postProcessBeanFactory(org.springframework.beans.factory.config.ConfigurableListableBeanFactory beanFactory) |
void |
setApplicationContext(org.springframework.context.ApplicationContext applicationContext) |
boolean |
supportsPayloadResolution()
This implementation always returns
false, to indicate that payload resolution is not supported for
this factory |
createPayloadResolver, findParameterResolver, registerChangeListener, registerFactory, unregisterFactoryprotected ParameterResolver createInstance(Annotation[] memberAnnotations, Class<?> parameterType, Annotation[] parameterAnnotations)
ParameterResolverFactoryparameterType for a given message.
If the ParameterResolverFactory cannot provide a suitable ParameterResolver, returns null.createInstance in class ParameterResolverFactorymemberAnnotations - annotations placed on the member (e.g. method)parameterType - the parameter type to find a resolver forparameterAnnotations - annotations places on the parameternull if none is foundpublic boolean supportsPayloadResolution()
false, to indicate that payload resolution is not supported for
this factorysupportsPayloadResolution in class ParameterResolverFactoryfalsepublic void setApplicationContext(org.springframework.context.ApplicationContext applicationContext)
throws org.springframework.beans.BeansException
setApplicationContext in interface org.springframework.context.ApplicationContextAwareorg.springframework.beans.BeansExceptionpublic void postProcessBeanFactory(org.springframework.beans.factory.config.ConfigurableListableBeanFactory beanFactory)
throws org.springframework.beans.BeansException
postProcessBeanFactory in interface org.springframework.beans.factory.config.BeanFactoryPostProcessororg.springframework.beans.BeansExceptionpublic void onApplicationEvent(org.springframework.context.ApplicationEvent event)
onApplicationEvent in interface org.springframework.context.ApplicationListenerCopyright © 2010-2013. All Rights Reserved.