接口的使用
org.springframework.expression.TypeLocator
使用TypeLocator的程序包 程序包 说明 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中TypeLocator的使用
返回TypeLocator的org.springframework.expression中的方法 修饰符和类型 方法 说明 TypeLocator
EvaluationContext. getTypeLocator()
Return a type locator that can be used to find types, either by short or fully qualified name.org.springframework.expression.spel.support中TypeLocator的使用
实现TypeLocator的org.springframework.expression.spel.support中的类 修饰符和类型 类 说明 class
StandardTypeLocator
A simple implementation ofTypeLocator
that uses the context ClassLoader (or any ClassLoader set upon it).返回TypeLocator的org.springframework.expression.spel.support中的方法 修饰符和类型 方法 说明 TypeLocator
SimpleEvaluationContext. getTypeLocator()
SimpleEvaluationContext
does not support use of type references.TypeLocator
StandardEvaluationContext. getTypeLocator()
参数类型为TypeLocator的org.springframework.expression.spel.support中的方法 修饰符和类型 方法 说明 void
StandardEvaluationContext. setTypeLocator(TypeLocator typeLocator)