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
ConstructorsConstructorDescriptionSimpleEvaluationContextFactory(List<org.springframework.expression.PropertyAccessor> propertyAccessors, ConversionService conversionService) -
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.expression.EvaluationContextcreateContext(Object rootObject) Create anEvaluationContextfor the given root object.
-
Constructor Details
-
SimpleEvaluationContextFactory
public SimpleEvaluationContextFactory(List<org.springframework.expression.PropertyAccessor> propertyAccessors, ConversionService conversionService)
-
-
Method Details
-
createContext
Description copied from interface:EvaluationContextFactoryCreate anEvaluationContextfor the given root object.- Specified by:
createContextin interfaceEvaluationContextFactory- Parameters:
rootObject- the root object- Returns:
- the created context instance
-