Class DefaultExpressionResolver

java.lang.Object
org.springframework.pulsar.core.DefaultExpressionResolver
All Implemented Interfaces:
ExpressionResolver

public class DefaultExpressionResolver extends Object implements ExpressionResolver
Default implementation of ExpressionResolver that relies on the ConfigurableBeanFactory capabilities to resolve expressions.
Since:
1.1.0
Author:
Jonas Geiregat
  • Constructor Details

  • Method Details

    • resolveToString

      public Resolved<String> resolveToString(String expression)
      Resolve the given expression as a string value.
      Specified by:
      resolveToString in interface ExpressionResolver
      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.