public class StandardEvaluationContextFactory extends java.lang.Object implements EvaluationContextFactory
StandardEvaluationContext
enabling the full power of SpEL.Constructor and Description |
---|
StandardEvaluationContextFactory(java.util.List<org.springframework.expression.PropertyAccessor> propertyAccessors,
org.springframework.core.convert.ConversionService conversionService,
java.util.Map<java.lang.String,Expression> expressionVariables) |
Modifier and Type | Method and Description |
---|---|
org.springframework.expression.EvaluationContext |
createContext(java.lang.Object rootObject)
Create an
EvaluationContext for the given root object. |
public StandardEvaluationContextFactory(java.util.List<org.springframework.expression.PropertyAccessor> propertyAccessors, org.springframework.core.convert.ConversionService conversionService, java.util.Map<java.lang.String,Expression> expressionVariables)
public org.springframework.expression.EvaluationContext createContext(java.lang.Object rootObject)
EvaluationContextFactory
EvaluationContext
for the given root object.createContext
in interface EvaluationContextFactory
rootObject
- the root object