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 Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected org.springframework.expression.EvaluationContextorg.springframework.context.ApplicationContextorg.springframework.expression.ExpressionParservoidsetApplicationContext(org.springframework.context.ApplicationContext applicationContext) voidsetConfigurationService(ConfigurationService configurationService) voidsetParser(org.springframework.expression.ExpressionParser parser)
-
Constructor Details
-
DefaultExpressionEvaluator
public DefaultExpressionEvaluator()
-
-
Method Details
-
getConfigurationService
-
setConfigurationService
-
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:
setApplicationContextin interfaceorg.springframework.context.ApplicationContextAware
-
evaluate
- Specified by:
evaluatein interfaceExpressionEvaluator- Parameters:
expression- the expression to evaluateroot- the root object that the expression will be evaluated from- Returns:
- Object value of the evaluated expression
-
createEvaluationContext
-