CacheEvaluationContext that makes sure that internal
delegates are reused.
| Modifier and Type | Field and Description |
|---|---|
| private final StandardEvaluationContext | |
| private Supplier |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public CacheEvaluationContext | Returns: a context suitable for this cache operationthe rootObject, Method root object to use for the contextthe target cache targetMethod, Object[] Methodthe arguments of the method invocation args)Creates a |
| public ParameterNameDiscoverer | |
| public void |
| originalContext | back to summary |
|---|---|
| private final StandardEvaluationContext originalContext | |
| parameterNameDiscoverer | back to summary |
|---|---|
| private Supplier<ParameterNameDiscoverer> parameterNameDiscoverer
| |
| CacheEvaluationContextFactory | back to summary |
|---|---|
| pack-priv CacheEvaluationContextFactory(StandardEvaluationContext originalContext) | |
| forOperation | back to summary |
|---|---|
| public CacheEvaluationContext forOperation(CacheExpressionRootObject rootObject, Method targetMethod, Object[] args) Creates a
| |
| getParameterNameDiscoverer | back to summary |
|---|---|
| public ParameterNameDiscoverer getParameterNameDiscoverer() | |
| setParameterNameDiscoverer | back to summary |
|---|---|
| public void setParameterNameDiscoverer(Supplier<ParameterNameDiscoverer> parameterNameDiscoverer) | |