org.springframework.beans.factory.BeanFactory .
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public boolean | canRead(EvaluationContext
the evaluation context in which the access is being attempted context, Object the target object upon which the property is being accessed target, String the name of the property being accessed name)Implements org. Called to determine if a resolver instance is able to access a specified property on a specified target object. |
| public boolean | canWrite(EvaluationContext
the evaluation context in which the access is being attempted context, Object the target object upon which the property is being accessed target, String the name of the property being accessed name)Implements org. Called to determine if a resolver instance is able to write to a specified property on a specified target object. |
| public Class | getSpecificTargetClasses()
Implements org. Return an array of classes for which this resolver should be called. |
| public TypedValue | read(EvaluationContext
the evaluation context in which the access is being attempted context, Object the target object upon which the property is being accessed target, String the name of the property being accessed name)Implements org. Called to read a property from a specified target object. |
| public void | write(EvaluationContext
the evaluation context in which the access is being attempted context, Object the target object upon which the property is being accessed target, String the name of the property being accessed name, Object the new value for the property newValue)Implements org. Called to write to a property on a specified target object. |
| BeanFactoryAccessor | back to summary |
|---|---|
| public BeanFactoryAccessor() | |
| canRead | back to summary |
|---|---|
| public boolean canRead(EvaluationContext context, Object target, String name) throws AccessException Implements org. Doc from org. Called to determine if a resolver instance is able to access a specified property on a specified target object.
| |
| canWrite | back to summary |
|---|---|
| public boolean canWrite(EvaluationContext context, Object target, String name) throws AccessException Implements org. Doc from org. Called to determine if a resolver instance is able to write to a specified property on a specified target object.
| |
| getSpecificTargetClasses | back to summary |
|---|---|
| public Class Implements org. Doc from org. Return an array of classes for which this resolver should be called. Returning | |
| read | back to summary |
|---|---|
| public TypedValue read(EvaluationContext context, Object target, String name) throws AccessException Implements org. Doc from org. Called to read a property from a specified target object.
Should only succeed if
| |
| write | back to summary |
|---|---|
| public void write(EvaluationContext context, Object target, String name, Object newValue) throws AccessException Implements org. Doc from org. Called to write to a property on a specified target object.
Should only succeed if
| |