public static class InitParamProcessor.CacheRefExpression extends InitParamProcessor.DataStructureRefExpression<NamedCache>
Expression
implementation that represents the use of
a {cache-ref} macro in a Configuration File.Constructor and Description |
---|
CacheRefExpression(com.tangosol.config.expression.Expression<?> exprCacheName,
ClassLoader classLoader,
CacheMappingRegistry registry)
Deprecated.
As of Coherence 14.1.1, use
#CacheRefExpression(Expression, ClassLoader, ResourceMappingRegistry) . |
CacheRefExpression(com.tangosol.config.expression.Expression<?> exprCacheName,
ClassLoader classLoader,
ResourceMappingRegistry registry)
Constructs a CacheRefExpression.
|
Modifier and Type | Method and Description |
---|---|
NamedCache |
evaluate(com.tangosol.config.expression.ParameterResolver resolver)
Evaluates the
Expression to produce a value of type T. |
evaluateName, getClassLoader, toString
public CacheRefExpression(com.tangosol.config.expression.Expression<?> exprCacheName, ClassLoader classLoader, ResourceMappingRegistry registry)
exprCacheName
- the Expression representing the Cache NameclassLoader
- the ClassLoader to use when loading the Cacheregistry
- the ResourceMappingRegistry to locate ResourceMapping
definitionspublic CacheRefExpression(com.tangosol.config.expression.Expression<?> exprCacheName, ClassLoader classLoader, CacheMappingRegistry registry)
#CacheRefExpression(Expression, ClassLoader, ResourceMappingRegistry)
.exprCacheName
- the Expression representing the Cache NameclassLoader
- the ClassLoader to use when loading the Cacheregistry
- the CacheMappingRegistry to locate CacheMapping
definitionspublic NamedCache evaluate(com.tangosol.config.expression.ParameterResolver resolver)
Expression
to produce a value of type T.resolver
- the ParameterResolver
for resolving any parameters used by the Expression