Package com.tangosol.coherence.config
Class ParameterMacroExpressionParser
java.lang.Object
com.tangosol.coherence.config.ParameterMacroExpressionParser
- All Implemented Interfaces:
ExpressionParser
A
ParameterMacroExpressionParser is an ExpressionParser for Coherence Parameter Macros.- Since:
- Coherence 12.1.2
- Author:
- bo 2011.10.18
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final ExpressionParserThe singleton instance of theParameterMacroExpressionParser. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription<T> Expression<T>Attempts to parse the providedStringto produce anExpressionof an expected type.
-
Field Details
-
INSTANCE
The singleton instance of theParameterMacroExpressionParser.
-
-
Constructor Details
-
ParameterMacroExpressionParser
public ParameterMacroExpressionParser()
-
-
Method Details
-
parse
Attempts to parse the providedStringto produce anExpressionof an expected type.- Specified by:
parsein interfaceExpressionParser- Parameters:
sExpression- theStringrepresentation of theExpressionclzResultType- the type of value theExpressionwill return when evaluated- Returns:
- an
Expressionthat will when evaluated will produce the required type - Throws:
ParseException- when an error occurred attempting to parse theString
-