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 Details

    • BeanFactoryPropertyAccessor

      public BeanFactoryPropertyAccessor()
  • Method Details

    • getSpecificTargetClasses

      public Class<?>[] getSpecificTargetClasses()
      Specified by:
      getSpecificTargetClasses in interface org.springframework.expression.PropertyAccessor
    • canRead

      public boolean canRead(org.springframework.expression.EvaluationContext context, Object target, String name)
      Specified by:
      canRead in interface org.springframework.expression.PropertyAccessor
    • read

      public org.springframework.expression.TypedValue read(org.springframework.expression.EvaluationContext context, Object target, String name)
      Specified by:
      read in interface org.springframework.expression.PropertyAccessor
    • canWrite

      public boolean canWrite(org.springframework.expression.EvaluationContext context, Object target, String name)
      Specified by:
      canWrite in interface org.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 interface org.springframework.expression.PropertyAccessor
      Throws:
      org.springframework.expression.AccessException
    • getBeanFactory

      protected org.springframework.beans.factory.BeanFactory getBeanFactory()