Class ExpressionEvaluatingReleaseStrategy
java.lang.Object
org.springframework.integration.util.AbstractExpressionEvaluator
org.springframework.integration.aggregator.ExpressionEvaluatingReleaseStrategy
- All Implemented Interfaces:
Aware
,BeanFactoryAware
,InitializingBean
,ReleaseStrategy
public class ExpressionEvaluatingReleaseStrategy
extends AbstractExpressionEvaluator
implements ReleaseStrategy
A
ReleaseStrategy
that evaluates an expression.- Author:
- Dave Syer, Artem Bilan
-
Field Summary
Fields inherited from class org.springframework.integration.util.AbstractExpressionEvaluator
EXPRESSION_PARSER, logger
-
Constructor Summary
ConstructorDescriptionExpressionEvaluatingReleaseStrategy
(String expression) ExpressionEvaluatingReleaseStrategy
(Expression expression) -
Method Summary
Modifier and TypeMethodDescriptionboolean
canRelease
(MessageGroup messages) Evaluate the expression provided on theMessageGroup
and return the result (must be boolean).Methods inherited from class org.springframework.integration.util.AbstractExpressionEvaluator
afterPropertiesSet, evaluateExpression, evaluateExpression, evaluateExpression, evaluateExpression, evaluateExpression, evaluateExpression, evaluateExpression, getBeanFactory, getEvaluationContext, getEvaluationContext, getMessageBuilderFactory, onInit, setBeanFactory, setConversionService
-
Constructor Details
-
ExpressionEvaluatingReleaseStrategy
-
ExpressionEvaluatingReleaseStrategy
-
-
Method Details
-
canRelease
Evaluate the expression provided on theMessageGroup
and return the result (must be boolean).- Specified by:
canRelease
in interfaceReleaseStrategy
-