Class StandardEvaluationContextFactory

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

public class StandardEvaluationContextFactory extends Object implements EvaluationContextFactory
Creates a StandardEvaluationContext enabling the full power of SpEL.
Since:
2.4.8
Author:
Rossen Stoyanchev
  • Constructor Details

    • StandardEvaluationContextFactory

      public StandardEvaluationContextFactory(List<org.springframework.expression.PropertyAccessor> propertyAccessors, org.springframework.core.convert.ConversionService conversionService, Map<String,Expression> expressionVariables)
  • 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