Class InitParamProcessor.SchemeRefExpression
- java.lang.Object
-
- com.tangosol.coherence.config.xml.processor.InitParamProcessor.SchemeRefExpression
-
- All Implemented Interfaces:
Expression<Object>
- Enclosing class:
- InitParamProcessor
public static class InitParamProcessor.SchemeRefExpression extends Object implements Expression<Object>
AnExpression
implementation that represents the use of a {scheme-ref} macro in a Cache Configuration File.
-
-
Constructor Summary
Constructors Constructor Description SchemeRefExpression(Expression<?> exprSchemeName, ServiceSchemeRegistry 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
-
SchemeRefExpression
public SchemeRefExpression(Expression<?> exprSchemeName, ServiceSchemeRegistry registry)
Constructs a SchemeRefExpression.- Parameters:
exprSchemeName
- 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
-
-