Interface ValueEvaluationContext
public interface ValueEvaluationContext
Expressions are executed using an evaluation context. This context is used to resolve references during (SpEL,
 property placeholder) expression evaluation.
- Since:
- 3.3
- Author:
- Christoph Strobl, Mark Paluch
- 
Method SummaryModifier and TypeMethodDescriptionReturns theEnvironment.Returns theEvaluationContext.default EvaluationContextDeprecated.since 4.0, EvaluationContext is always provided.static ValueEvaluationContextof(Environment environment, EvaluationContext evaluationContext) Returns a newValueEvaluationContext.
- 
Method Details- 
ofReturns a newValueEvaluationContext.- Parameters:
- environment- must not be null.
- evaluationContext- must not be null.
- Returns:
- a new ValueEvaluationContextfor the given environment and evaluation context.
 
- 
getEnvironmentEnvironment getEnvironment()Returns theEnvironment.- Returns:
- the Environment.
 
- 
getEvaluationContextEvaluationContext getEvaluationContext()Returns theEvaluationContext.- Returns:
- the EvaluationContext.
 
- 
getRequiredEvaluationContextDeprecated.since 4.0, EvaluationContext is always provided.Returns the requiredEvaluationContextor throwsIllegalStateExceptionif there is no evaluation context available.- Returns:
- the EvaluationContext.
- Since:
- 3.4
 
 
-