IntegrationContextUtils.getEvaluationContext(org.springframework.beans.factory.BeanFactory)
direct usage from the afterPropertiesSet implementation.
Will be removed in the next release.@Deprecated public interface IntegrationEvaluationContextAware
EvaluationContext, which is the result of
IntegrationEvaluationContextFactoryBean
The setIntegrationEvaluationContext(org.springframework.expression.EvaluationContext) is invoked from
the IntegrationEvaluationContextAwareBeanPostProcessor#afterSingletonsInstantiated(),
not during standard postProcessBefore(After)Initialization to avoid any
BeanFactory early access during integration EvaluationContext retrieval.
Therefore, if it is necessary to use EvaluationContext in the afterPropertiesSet(),
the IntegrationContextUtils.getEvaluationContext(this.beanFactory) should be used instead
of this interface implementation.
| Modifier and Type | Method and Description |
|---|---|
void |
setIntegrationEvaluationContext(EvaluationContext evaluationContext)
Deprecated.
|
void setIntegrationEvaluationContext(EvaluationContext evaluationContext)