public class StateContextExpressionMethods
extends java.lang.Object
StateContext.| Constructor and Description |
|---|
StateContextExpressionMethods(org.springframework.expression.spel.support.StandardEvaluationContext evaluationContext)
Instantiates a new state context expression methods
with a
StandardEvaluationContext. |
| Modifier and Type | Method and Description |
|---|---|
<T> T |
getValue(org.springframework.expression.Expression expression,
StateContext<?,?> stateContext,
java.lang.Class<T> desiredResultType)
Gets the value.
|
public StateContextExpressionMethods(org.springframework.expression.spel.support.StandardEvaluationContext evaluationContext)
StandardEvaluationContext.evaluationContext - the spel evaluation contextpublic <T> T getValue(org.springframework.expression.Expression expression,
StateContext<?,?> stateContext,
java.lang.Class<T> desiredResultType)
throws org.springframework.expression.EvaluationException
T - the generic typeexpression - the expressionstateContext - the state contextdesiredResultType - the desired result typeorg.springframework.expression.EvaluationException - the evaluation exception