public class DefaultParameterResolverFactory extends Object implements ParameterResolverFactory
Constructor and Description |
---|
DefaultParameterResolverFactory() |
Modifier and Type | Method and Description |
---|---|
ParameterResolver |
createInstance(Annotation[] methodAnnotations,
Class<?> parameterType,
Annotation[] parameterAnnotations)
If available, creates a ParameterResolver instance that can provide a parameter of type
parameterType for a given message. |
public ParameterResolver createInstance(Annotation[] methodAnnotations, Class<?> parameterType, Annotation[] parameterAnnotations)
ParameterResolverFactory
parameterType
for a given message.
If the ParameterResolverFactory cannot provide a suitable ParameterResolver, returns null
.
createInstance
in interface ParameterResolverFactory
methodAnnotations
- 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 foundCopyright © 2010-2014. All Rights Reserved.