Package | Description |
---|---|
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.
|
Modifier and Type | Method and Description |
---|---|
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 any
Environment , 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: returns
false . |
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) |
Modifier and Type | Method and Description |
---|---|
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.
|
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.
|
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.
|
void |
PropertyAccessor.write(EvaluationContext context,
Object target,
String name,
Object newValue)
Called to write to a property on a specified target object.
|
Modifier and Type | Method and Description |
---|---|
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.read(EvaluationContext context,
Object target,
String name) |
TypedValue |
ReflectivePropertyAccessor.OptimalPropertyAccessor.read(EvaluationContext context,
Object target,
String name) |
MethodExecutor |
DataBindingMethodResolver.resolve(EvaluationContext context,
Object targetObject,
String name,
List<TypeDescriptor> argumentTypes) |
MethodExecutor |
ReflectiveMethodResolver.resolve(EvaluationContext context,
Object targetObject,
String name,
List<TypeDescriptor> argumentTypes)
Locate a method on a type.
|
ConstructorExecutor |
ReflectiveConstructorResolver.resolve(EvaluationContext context,
String typeName,
List<TypeDescriptor> argumentTypes)
Locate a constructor on the type.
|
void |
ReflectivePropertyAccessor.write(EvaluationContext context,
Object target,
String name,
Object newValue) |