Package org.springframework.pulsar.core
Class DefaultExpressionResolver
java.lang.Object
org.springframework.pulsar.core.DefaultExpressionResolver
- All Implemented Interfaces:
ExpressionResolver
Default implementation of
ExpressionResolver
that relies on the
ConfigurableBeanFactory
capabilities to resolve expressions.- Since:
- 1.1.0
- Author:
- Jonas Geiregat
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionresolveToString
(String expression) Resolve the given expression as a string value.
-
Constructor Details
-
DefaultExpressionResolver
-
-
Method Details
-
resolveToString
Resolve the given expression as a string value.- Specified by:
resolveToString
in interfaceExpressionResolver
- Parameters:
expression
- the expression to resolve (can include property placeholders and SpEL)- Returns:
- a
Resolved
instance containing the resolved string value (can be null) or an exception if the resolution failed.
-