Class StandardEvaluationContextFactory
java.lang.Object
org.springframework.binding.expression.spel.StandardEvaluationContextFactory
- All Implemented Interfaces:
EvaluationContextFactory
Creates a
StandardEvaluationContext
enabling the full power of SpEL.- Since:
- 2.4.8
- Author:
- Rossen Stoyanchev
-
Constructor Summary
ConstructorDescriptionStandardEvaluationContextFactory
(List<org.springframework.expression.PropertyAccessor> propertyAccessors, org.springframework.core.convert.ConversionService conversionService, Map<String, Expression> expressionVariables) -
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.expression.EvaluationContext
createContext
(Object rootObject) Create anEvaluationContext
for the given root object.
-
Constructor Details
-
StandardEvaluationContextFactory
public StandardEvaluationContextFactory(List<org.springframework.expression.PropertyAccessor> propertyAccessors, org.springframework.core.convert.ConversionService conversionService, Map<String, Expression> expressionVariables)
-
-
Method Details
-
createContext
Description copied from interface:EvaluationContextFactory
Create anEvaluationContext
for the given root object.- Specified by:
createContext
in interfaceEvaluationContextFactory
- Parameters:
rootObject
- the root object- Returns:
- the created context instance
-