public abstract class CachedExpressionEvaluator extends Object
AnnotatedElement.AnnotatedElementKey| Modifier and Type | Class and Description | 
|---|---|
| protected static class  | CachedExpressionEvaluator.ExpressionKeyAn expression key. | 
| Modifier | Constructor and Description | 
|---|---|
| protected  | CachedExpressionEvaluator()Create a new instance with a default  SpelExpressionParser. | 
| protected  | CachedExpressionEvaluator(SpelExpressionParser parser)Create a new instance with the specified  SpelExpressionParser. | 
| Modifier and Type | Method and Description | 
|---|---|
| protected Expression | getExpression(Map<CachedExpressionEvaluator.ExpressionKey,Expression> cache,
             AnnotatedElementKey elementKey,
             String expression)Return the  Expressionfor the specified SpEL value | 
| protected ParameterNameDiscoverer | getParameterNameDiscoverer()Return a shared parameter name discoverer which caches data internally. | 
| protected SpelExpressionParser | getParser()Return the  SpelExpressionParserto use. | 
protected CachedExpressionEvaluator(SpelExpressionParser parser)
SpelExpressionParser.protected CachedExpressionEvaluator()
SpelExpressionParser.protected SpelExpressionParser getParser()
SpelExpressionParser to use.protected ParameterNameDiscoverer getParameterNameDiscoverer()
protected Expression getExpression(Map<CachedExpressionEvaluator.ExpressionKey,Expression> cache, AnnotatedElementKey elementKey, String expression)
Expression for the specified SpEL value
 Parse the expression if it hasn't been already.
cache - the cache to useelementKey - the element on which the expression is definedexpression - the expression to parse