Class InitParamProcessor.CollectionRefExpression
- java.lang.Object
-
- com.tangosol.coherence.config.xml.processor.InitParamProcessor.DataStructureRefExpression<NamedCollection>
-
- com.tangosol.coherence.config.xml.processor.InitParamProcessor.CollectionRefExpression
-
- All Implemented Interfaces:
Expression<NamedCollection>
- Enclosing class:
- InitParamProcessor
public static class InitParamProcessor.CollectionRefExpression extends InitParamProcessor.DataStructureRefExpression<NamedCollection>
AnExpressionimplementation that represents the use of a {collection-ref} macro in a Configuration File.
-
-
Constructor Summary
Constructors Constructor Description CollectionRefExpression(Expression<?> exprCacheName, ClassLoader classLoader, ResourceMappingRegistry registry)Constructs a CollectionRefExpression.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description NamedCollectionevaluate(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 Detail
-
CollectionRefExpression
public CollectionRefExpression(Expression<?> exprCacheName, ClassLoader classLoader, ResourceMappingRegistry registry)
Constructs a CollectionRefExpression.- Parameters:
exprCacheName- the Expression representing the collection nameclassLoader- the ClassLoader to use when loading the collectionregistry- the ResourceMappingRegistry to locate QueueMapping definitions
-
-
Method Detail
-
evaluate
public NamedCollection evaluate(ParameterResolver resolver)
Evaluates theExpressionto produce a value of type T.- Parameters:
resolver- theParameterResolverfor resolving any parameters used by theExpression- Returns:
- The result of evaluating the expression
-
-