Class DefaultExpressionEvaluator

java.lang.Object
de.hybris.platform.solrfacetsearch.provider.impl.DefaultExpressionEvaluator
All Implemented Interfaces:
ExpressionEvaluator, org.springframework.beans.factory.Aware, org.springframework.context.ApplicationContextAware

public class DefaultExpressionEvaluator extends Object implements ExpressionEvaluator, org.springframework.context.ApplicationContextAware
SPEL expression evaluator
  • Constructor Details

    • DefaultExpressionEvaluator

      public DefaultExpressionEvaluator()
  • Method Details

    • getConfigurationService

      public ConfigurationService getConfigurationService()
    • setConfigurationService

      public void setConfigurationService(ConfigurationService configurationService)
    • getParser

      public org.springframework.expression.ExpressionParser getParser()
    • setParser

      public void setParser(org.springframework.expression.ExpressionParser parser)
    • getApplicationContext

      public org.springframework.context.ApplicationContext getApplicationContext()
    • setApplicationContext

      public void setApplicationContext(org.springframework.context.ApplicationContext applicationContext)
      Specified by:
      setApplicationContext in interface org.springframework.context.ApplicationContextAware
    • evaluate

      public Object evaluate(String expression, Object root)
      Specified by:
      evaluate in interface ExpressionEvaluator
      Parameters:
      expression - the expression to evaluate
      root - the root object that the expression will be evaluated from
      Returns:
      Object value of the evaluated expression
    • createEvaluationContext

      protected org.springframework.expression.EvaluationContext createEvaluationContext(Object root)