From a44f618868cc72d372ad4a166c9d9c01ee1e03b3 Mon Sep 17 00:00:00 2001 From: Oleg Zhurakousky Date: Wed, 21 Jul 2010 18:04:53 +0000 Subject: [PATCH] INT-1230, removed eager setting of the ConversionService during initialization --- .../integration/context/IntegrationObjectSupport.java | 5 ----- 1 file changed, 5 deletions(-) diff --git a/spring-integration-core/src/main/java/org/springframework/integration/context/IntegrationObjectSupport.java b/spring-integration-core/src/main/java/org/springframework/integration/context/IntegrationObjectSupport.java index 4d3e497d4e..526756ada7 100644 --- a/spring-integration-core/src/main/java/org/springframework/integration/context/IntegrationObjectSupport.java +++ b/spring-integration-core/src/main/java/org/springframework/integration/context/IntegrationObjectSupport.java @@ -79,11 +79,6 @@ public abstract class IntegrationObjectSupport implements BeanNameAware, NamedCo } public final void afterPropertiesSet() { - if (beanFactory != null){ - if (this.getBeanFactory().containsBean(IntegrationContextUtils.INTEGRATION_CONVERSION_SERVICE_BEAN_NAME)){ - this.setConversionService(this.getBeanFactory().getBean(IntegrationContextUtils.INTEGRATION_CONVERSION_SERVICE_BEAN_NAME, ConversionService.class)); - } - } try { this.onInit(); }