Class SimpleEvaluationContextFactory
java.lang.Object
org.springframework.binding.expression.spel.SimpleEvaluationContextFactory
- All Implemented Interfaces:
EvaluationContextFactory
Creates
SimpleEvaluationContext
, for use with data binding.- Since:
- 2.4.8
- Author:
- Rossen Stoyanchev
-
Constructor Summary
ConstructorDescriptionSimpleEvaluationContextFactory
(List<org.springframework.expression.PropertyAccessor> propertyAccessors, ConversionService conversionService) -
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.expression.EvaluationContext
createContext
(Object rootObject) Create anEvaluationContext
for the given root object.
-
Constructor Details
-
SimpleEvaluationContextFactory
public SimpleEvaluationContextFactory(List<org.springframework.expression.PropertyAccessor> propertyAccessors, ConversionService conversionService)
-
-
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
-