Class BeanFactoryPropertyAccessor
java.lang.Object
org.springframework.webflow.expression.spel.BeanFactoryPropertyAccessor
- All Implemented Interfaces:
org.springframework.expression.PropertyAccessor
public class BeanFactoryPropertyAccessor
extends Object
implements org.springframework.expression.PropertyAccessor
Spring EL PropertyAccessor for reading beans in a
BeanFactory
.- Since:
- 2.1
- Author:
- Rossen Stoyanchev
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
BeanFactoryPropertyAccessor
public BeanFactoryPropertyAccessor()
-
-
Method Details
-
getSpecificTargetClasses
- Specified by:
getSpecificTargetClasses
in interfaceorg.springframework.expression.PropertyAccessor
-
canRead
public boolean canRead(org.springframework.expression.EvaluationContext context, Object target, String name) - Specified by:
canRead
in interfaceorg.springframework.expression.PropertyAccessor
-
read
public org.springframework.expression.TypedValue read(org.springframework.expression.EvaluationContext context, Object target, String name) - Specified by:
read
in interfaceorg.springframework.expression.PropertyAccessor
-
canWrite
public boolean canWrite(org.springframework.expression.EvaluationContext context, Object target, String name) - Specified by:
canWrite
in interfaceorg.springframework.expression.PropertyAccessor
-
write
public void write(org.springframework.expression.EvaluationContext context, Object target, String name, Object newValue) throws org.springframework.expression.AccessException - Specified by:
write
in interfaceorg.springframework.expression.PropertyAccessor
- Throws:
org.springframework.expression.AccessException
-
getBeanFactory
protected org.springframework.beans.factory.BeanFactory getBeanFactory()
-