类的使用
org.springframework.expression.AccessException
使用AccessException的程序包 程序包 说明 org.springframework.context.expression Expression parsing support within a Spring application context.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.context.expression中AccessException的使用
抛出AccessException的org.springframework.context.expression中的方法 修饰符和类型 方法 说明 boolean
BeanExpressionContextAccessor. canRead(EvaluationContext context, Object target, String name)
boolean
BeanFactoryAccessor. canRead(EvaluationContext context, Object target, String name)
boolean
EnvironmentAccessor. canRead(EvaluationContext context, Object target, String name)
Can read anyEnvironment
, thus always returns true.boolean
MapAccessor. canRead(EvaluationContext context, Object target, String name)
boolean
BeanExpressionContextAccessor. canWrite(EvaluationContext context, Object target, String name)
boolean
BeanFactoryAccessor. canWrite(EvaluationContext context, Object target, String name)
boolean
EnvironmentAccessor. canWrite(EvaluationContext context, Object target, String name)
Read-only: returnsfalse
.boolean
MapAccessor. canWrite(EvaluationContext context, Object target, String name)
TypedValue
BeanExpressionContextAccessor. read(EvaluationContext context, Object target, String name)
TypedValue
BeanFactoryAccessor. read(EvaluationContext context, Object target, String name)
TypedValue
EnvironmentAccessor. read(EvaluationContext context, Object target, String name)
Access the given target object by resolving the given property name against the given target environment.TypedValue
MapAccessor. read(EvaluationContext context, Object target, String name)
Object
BeanFactoryResolver. resolve(EvaluationContext context, String beanName)
void
BeanExpressionContextAccessor. write(EvaluationContext context, Object target, String name, Object newValue)
void
BeanFactoryAccessor. write(EvaluationContext context, Object target, String name, Object newValue)
void
EnvironmentAccessor. write(EvaluationContext context, Object target, String name, Object newValue)
Read-only: no-op.void
MapAccessor. write(EvaluationContext context, Object target, String name, Object newValue)
org.springframework.expression中AccessException的使用
抛出AccessException的org.springframework.expression中的方法 修饰符和类型 方法 说明 boolean
PropertyAccessor. canRead(EvaluationContext context, Object target, String name)
Called to determine if a resolver instance is able to access a specified property on a specified target object.boolean
PropertyAccessor. canWrite(EvaluationContext context, Object target, String name)
Called to determine if a resolver instance is able to write to a specified property on a specified target object.TypedValue
ConstructorExecutor. execute(EvaluationContext context, Object... arguments)
Execute a constructor in the specified context using the specified arguments.TypedValue
MethodExecutor. execute(EvaluationContext context, Object target, Object... arguments)
Execute a command using the specified arguments, and using the specified expression state.TypedValue
PropertyAccessor. read(EvaluationContext context, Object target, String name)
Called to read a property from a specified target object.Object
BeanResolver. resolve(EvaluationContext context, String beanName)
Look up a bean by the given name and return a corresponding instance for it.ConstructorExecutor
ConstructorResolver. resolve(EvaluationContext context, String typeName, List<TypeDescriptor> argumentTypes)
Within the supplied context determine a suitable constructor on the supplied type that can handle the specified arguments.MethodExecutor
MethodResolver. resolve(EvaluationContext context, Object targetObject, String name, List<TypeDescriptor> argumentTypes)
Within the supplied context determine a suitable method on the supplied object that can handle the specified arguments.void
PropertyAccessor. write(EvaluationContext context, Object target, String name, Object newValue)
Called to write to a property on a specified target object.org.springframework.expression.spel.support中AccessException的使用
抛出AccessException的org.springframework.expression.spel.support中的方法 修饰符和类型 方法 说明 boolean
ReflectivePropertyAccessor. canRead(EvaluationContext context, Object target, String name)
boolean
ReflectivePropertyAccessor.OptimalPropertyAccessor. canRead(EvaluationContext context, Object target, String name)
boolean
ReflectivePropertyAccessor. canWrite(EvaluationContext context, Object target, String name)
TypedValue
ReflectiveConstructorExecutor. execute(EvaluationContext context, Object... arguments)
TypedValue
ReflectiveMethodExecutor. execute(EvaluationContext context, Object target, Object... arguments)
TypedValue
ReflectivePropertyAccessor.OptimalPropertyAccessor. read(EvaluationContext context, Object target, String name)
TypedValue
ReflectivePropertyAccessor. read(EvaluationContext context, Object target, String name)
MethodExecutor
DataBindingMethodResolver. resolve(EvaluationContext context, Object targetObject, String name, List<TypeDescriptor> argumentTypes)
ConstructorExecutor
ReflectiveConstructorResolver. resolve(EvaluationContext context, String typeName, List<TypeDescriptor> argumentTypes)
Locate a constructor on the type.MethodExecutor
ReflectiveMethodResolver. resolve(EvaluationContext context, Object targetObject, String name, List<TypeDescriptor> argumentTypes)
Locate a method on a type.void
ReflectivePropertyAccessor. write(EvaluationContext context, Object target, String name, Object newValue)