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 voidafterPropertiesSet()java.lang.Object[]resolve(java.lang.String command, org.springframework.messaging.Message<?> message)voidsetBeanFactory(org.springframework.beans.factory.BeanFactory beanFactory)voidsetIntegrationEvaluationContext(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:
setBeanFactoryin interfaceorg.springframework.beans.factory.BeanFactoryAware- Throws:
org.springframework.beans.BeansException
-
afterPropertiesSet
public void afterPropertiesSet()- Specified by:
afterPropertiesSetin interfaceorg.springframework.beans.factory.InitializingBean
-
resolve
public java.lang.Object[] resolve(java.lang.String command, org.springframework.messaging.Message<?> message)- Specified by:
resolvein interfaceArgumentsStrategy
-