Interface EvaluationContextFactory
-
- All Known Implementing Classes:
CachingStdEvaluationContextFactory
public interface EvaluationContextFactory
Factory for retrievingEvaluationContext
s for theRuleEvaluationService
.- Author:
- Nathan Moore (nathanmoore).
- See Also:
SpelRuleEvaluationService
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description org.springframework.expression.EvaluationContext
getEvaluationContext(Object rootObject, ExpressionContext expressionContext)
Gets anEvaluationContext
.
-
-
-
Method Detail
-
getEvaluationContext
org.springframework.expression.EvaluationContext getEvaluationContext(@NonNull Object rootObject, @NonNull ExpressionContext expressionContext)
Gets anEvaluationContext
.- Parameters:
rootObject
- root object to evaluate an expression againstexpressionContext
- DTO for data required to evaluate an expression- Returns:
- an
EvaluationContext
-
-