public class SpringBeanParameterResolverFactory extends Object implements ParameterResolverFactory, org.springframework.context.ApplicationContextAware
| Constructor and Description |
|---|
SpringBeanParameterResolverFactory() |
| Modifier and Type | Method and Description |
|---|---|
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 |
setApplicationContext(org.springframework.context.ApplicationContext applicationContext) |
public 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 interface ParameterResolverFactorymemberAnnotations - annotations placed on the member (e.g. method)parameterType - the parameter type to find a resolver forparameterAnnotations - annotations placed on the parameternull if none is foundpublic void setApplicationContext(org.springframework.context.ApplicationContext applicationContext)
throws org.springframework.beans.BeansException
setApplicationContext in interface org.springframework.context.ApplicationContextAwareorg.springframework.beans.BeansExceptionCopyright © 2010-2014. All Rights Reserved.