接口的使用
org.springframework.expression.MethodResolver
使用MethodResolver的程序包 程序包 说明 org.springframework.expression Core abstractions behind the Spring Expression Language.org.springframework.expression.spel.support SpEL's default implementations for various core abstractions.org.springframework.expression中MethodResolver的使用
返回变量类型为MethodResolver的类型的org.springframework.expression中的方法 修饰符和类型 方法 说明 List<MethodResolver>EvaluationContext. getMethodResolvers()Return a list of resolvers that will be asked in turn to locate a method.org.springframework.expression.spel.support中MethodResolver的使用
实现MethodResolver的org.springframework.expression.spel.support中的类 修饰符和类型 类 说明 classDataBindingMethodResolverAMethodResolvervariant for data binding purposes, using reflection to access instance methods on a given target object.classReflectiveMethodResolverReflection-basedMethodResolverused by default inStandardEvaluationContextunless explicit method resolvers have been specified.返回变量类型为MethodResolver的类型的org.springframework.expression.spel.support中的方法 修饰符和类型 方法 说明 List<MethodResolver>SimpleEvaluationContext. getMethodResolvers()Return the specifiedMethodResolverdelegates, if any.List<MethodResolver>StandardEvaluationContext. getMethodResolvers()参数类型为MethodResolver的org.springframework.expression.spel.support中的方法 修饰符和类型 方法 说明 voidStandardEvaluationContext. addMethodResolver(MethodResolver resolver)booleanStandardEvaluationContext. removeMethodResolver(MethodResolver methodResolver)SimpleEvaluationContext.BuilderSimpleEvaluationContext.Builder. withMethodResolvers(MethodResolver... resolvers)Register the specifiedMethodResolverdelegates for a combination of property access and method resolution.类型变量类型为MethodResolver的org.springframework.expression.spel.support中的方法参数 修饰符和类型 方法 说明 voidStandardEvaluationContext. setMethodResolvers(List<MethodResolver> methodResolvers)