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>
AnExpression
implementation 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 Object
evaluate(ParameterResolver resolver)
Evaluates theExpression
to produce a value of type T.String
toString()
-
-
-
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 theExpression
to produce a value of type T.- Specified by:
evaluate
in interfaceExpression<Object>
- Parameters:
resolver
- theParameterResolver
for resolving any parameters used by theExpression
- Returns:
- The result of evaluating the expression
-
-