Class InitParamProcessor.ResourceRefExpression
- java.lang.Object
-
- com.tangosol.coherence.config.xml.processor.InitParamProcessor.ResourceRefExpression
-
- All Implemented Interfaces:
Expression<Object>
- Enclosing class:
- InitParamProcessor
public static class InitParamProcessor.ResourceRefExpression extends Object implements Expression<Object>
AnExpressionimplementation that represents the use of a {resource} macro in a configuration File.
-
-
Constructor Summary
Constructors Constructor Description ResourceRefExpression(Expression<?> exprResourceName, ParameterizedBuilderRegistry registry)Constructs a SchemeRefExpression.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Objectevaluate(ParameterResolver resolver)Evaluates theExpressionto produce a value of type T.StringtoString()
-
-
-
Constructor Detail
-
ResourceRefExpression
public ResourceRefExpression(Expression<?> exprResourceName, ParameterizedBuilderRegistry registry)
Constructs a SchemeRefExpression.- Parameters:
exprResourceName- the name of the ServiceScheme to resolveregistry- the ServiceSchemeRegistry to lookup ServiceSchemes
-
-
Method Detail
-
evaluate
public Object evaluate(ParameterResolver resolver)
Evaluates theExpressionto produce a value of type T.- Specified by:
evaluatein interfaceExpression<Object>- Parameters:
resolver- theParameterResolverfor resolving any parameters used by theExpression- Returns:
- The result of evaluating the expression
-
-