Class SimpleEvaluationContextFactory

java.lang.Object
org.springframework.binding.expression.spel.SimpleEvaluationContextFactory
All Implemented Interfaces:
EvaluationContextFactory

public class SimpleEvaluationContextFactory extends Object implements EvaluationContextFactory
Creates SimpleEvaluationContext, for use with data binding.
Since:
2.4.8
Author:
Rossen Stoyanchev
  • Constructor Details

    • SimpleEvaluationContextFactory

      public SimpleEvaluationContextFactory(List<org.springframework.expression.PropertyAccessor> propertyAccessors, ConversionService conversionService)
  • Method Details

    • createContext

      public org.springframework.expression.EvaluationContext createContext(Object rootObject)
      Description copied from interface: EvaluationContextFactory
      Create an EvaluationContext for the given root object.
      Specified by:
      createContext in interface EvaluationContextFactory
      Parameters:
      rootObject - the root object
      Returns:
      the created context instance