Class InitParamProcessor.CacheRefExpression
java.lang.Object
com.tangosol.coherence.config.xml.processor.InitParamProcessor.DataStructureRefExpression<NamedCache<?,?>>
 
com.tangosol.coherence.config.xml.processor.InitParamProcessor.CacheRefExpression
- All Implemented Interfaces:
 Expression<NamedCache<?,?>> 
- Enclosing class:
 InitParamProcessor
public static class InitParamProcessor.CacheRefExpression
extends InitParamProcessor.DataStructureRefExpression<NamedCache<?,?>> 
An 
Expression implementation that represents the use of
 a {cache-ref} macro in a Configuration File.- 
Constructor Summary
ConstructorsConstructorDescriptionCacheRefExpression(Expression<?> exprCacheName, ClassLoader classLoader, CacheMappingRegistry registry) Deprecated.CacheRefExpression(Expression<?> exprCacheName, ClassLoader classLoader, ResourceMappingRegistry registry) Constructs a CacheRefExpression. - 
Method Summary
Modifier and TypeMethodDescriptionNamedCache<?, ?> evaluate(ParameterResolver resolver) Evaluates theExpressionto produce a value of type T.Methods inherited from class com.tangosol.coherence.config.xml.processor.InitParamProcessor.DataStructureRefExpression
evaluateName, getClassLoader, toString 
- 
Constructor Details
- 
CacheRefExpression
public CacheRefExpression(Expression<?> exprCacheName, ClassLoader classLoader, ResourceMappingRegistry registry) Constructs a CacheRefExpression.- Parameters:
 exprCacheName- the Expression representing the Cache NameclassLoader- the ClassLoader to use when loading the Cacheregistry- the ResourceMappingRegistry to locate ResourceMapping definitions
 - 
CacheRefExpression
public CacheRefExpression(Expression<?> exprCacheName, ClassLoader classLoader, CacheMappingRegistry registry) Deprecated.As of Coherence 14.1.1, useCacheRefExpression(Expression, ClassLoader, ResourceMappingRegistry).Constructs a CacheRefExpression.- Parameters:
 exprCacheName- the Expression representing the Cache NameclassLoader- the ClassLoader to use when loading the Cacheregistry- the CacheMappingRegistry to locate CacheMapping definitions
 
 - 
 - 
Method Details
- 
evaluate
Evaluates theExpressionto produce a value of type T.- Parameters:
 resolver- theParameterResolverfor resolving any parameters used by theExpression- Returns:
 - The result of evaluating the expression
 
 
 - 
 
CacheRefExpression(Expression, ClassLoader, ResourceMappingRegistry).