List of usage examples for org.springframework.integration.context IntegrationContextUtils getEvaluationContext
public static StandardEvaluationContext getEvaluationContext(BeanFactory beanFactory)
From source file:org.springframework.integration.expression.ExpressionUtils.java
private static StandardEvaluationContext doCreateContext(BeanFactory beanFactory) { ConversionService conversionService = null; StandardEvaluationContext evaluationContext = null; if (beanFactory != null) { evaluationContext = IntegrationContextUtils.getEvaluationContext(beanFactory); }// w ww. j a v a 2 s. c om if (evaluationContext == null) { if (beanFactory != null) { conversionService = IntegrationContextUtils.getConversionService(beanFactory); } evaluationContext = createStandardEvaluationContext(conversionService, beanFactory); } return evaluationContext; }