Meant to be used as a reusable, thread-safe component.
CachedExpressionEvaluator
| Modifier and Type | Field and Description |
|---|---|
| private final Map | |
| private final StandardEvaluationContext |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public boolean | condition(String conditionExpression, ApplicationEvent event, Method targetMethod, AnnotatedElementKey methodKey, Object[] args)
Determine if the condition defined by the specified expression evaluates
to |
| private EvaluationContext |
| conditionCache | back to summary |
|---|---|
| private final Map<CachedExpressionEvaluator. | |
| originalEvaluationContext | back to summary |
|---|---|
| private final StandardEvaluationContext originalEvaluationContext | |
| EventExpressionEvaluator | back to summary |
|---|---|
| pack-priv EventExpressionEvaluator(StandardEvaluationContext originalEvaluationContext) | |
| condition | back to summary |
|---|---|
| public boolean condition(String conditionExpression, ApplicationEvent event, Method targetMethod, AnnotatedElementKey methodKey, Object[] args) Determine if the condition defined by the specified expression evaluates
to | |
| createEvaluationContext | back to summary |
|---|---|
| private EvaluationContext createEvaluationContext(EventExpressionRootObject rootObject, Method method, Object[] args) | |