public class ReflectiveConstructorResolver extends Object implements ConstructorResolver
| 构造器和说明 |
|---|
ReflectiveConstructorResolver() |
| 限定符和类型 | 方法和说明 |
|---|---|
ConstructorExecutor |
resolve(EvaluationContext context,
String typeName,
List<org.springframework.core.convert.TypeDescriptor> argumentTypes)
Locate a constructor on the type.
|
@Nullable public ConstructorExecutor resolve(EvaluationContext context, String typeName, List<org.springframework.core.convert.TypeDescriptor> argumentTypes) throws AccessException
resolve 在接口中 ConstructorResolvercontext - the current evaluation contexttypeName - the type upon which to look for the constructorargumentTypes - the arguments that the constructor must be able to handleAccessException