Class ExpressionArgumentsStrategy
java.lang.Object
org.springframework.integration.redis.outbound.ExpressionArgumentsStrategy
- All Implemented Interfaces:
org.springframework.beans.factory.Aware
,org.springframework.beans.factory.BeanFactoryAware
,org.springframework.beans.factory.InitializingBean
,ArgumentsStrategy
public class ExpressionArgumentsStrategy extends java.lang.Object implements ArgumentsStrategy, org.springframework.beans.factory.BeanFactoryAware, org.springframework.beans.factory.InitializingBean
- Since:
- 4.0
-
Constructor Summary
Constructors Constructor Description ExpressionArgumentsStrategy(java.lang.String[] argumentExpressions)
ExpressionArgumentsStrategy(java.lang.String[] argumentExpressions, boolean useCommandVariable)
-
Method Summary
Modifier and Type Method Description void
afterPropertiesSet()
java.lang.Object[]
resolve(java.lang.String command, org.springframework.messaging.Message<?> message)
void
setBeanFactory(org.springframework.beans.factory.BeanFactory beanFactory)
void
setIntegrationEvaluationContext(org.springframework.expression.EvaluationContext evaluationContext)
-
Constructor Details
-
ExpressionArgumentsStrategy
public ExpressionArgumentsStrategy(java.lang.String[] argumentExpressions) -
ExpressionArgumentsStrategy
public ExpressionArgumentsStrategy(java.lang.String[] argumentExpressions, boolean useCommandVariable)
-
-
Method Details
-
setIntegrationEvaluationContext
public void setIntegrationEvaluationContext(org.springframework.expression.EvaluationContext evaluationContext) -
setBeanFactory
public void setBeanFactory(org.springframework.beans.factory.BeanFactory beanFactory) throws org.springframework.beans.BeansException- Specified by:
setBeanFactory
in interfaceorg.springframework.beans.factory.BeanFactoryAware
- Throws:
org.springframework.beans.BeansException
-
afterPropertiesSet
public void afterPropertiesSet()- Specified by:
afterPropertiesSet
in interfaceorg.springframework.beans.factory.InitializingBean
-
resolve
public java.lang.Object[] resolve(java.lang.String command, org.springframework.messaging.Message<?> message)- Specified by:
resolve
in interfaceArgumentsStrategy
-