INT-796 limiting the bean lookup to the DefaultConfiguringBeanFactoryPostProcessor type
This commit is contained in:
@@ -63,7 +63,8 @@ public abstract class AbstractIntegrationNamespaceHandler implements NamespaceHa
|
||||
boolean alreadyRegistered = false;
|
||||
if (parserContext.getRegistry() instanceof ListableBeanFactory) {
|
||||
alreadyRegistered = ObjectUtils.containsElement(
|
||||
BeanFactoryUtils.beanNamesIncludingAncestors((ListableBeanFactory) parserContext.getRegistry()),
|
||||
BeanFactoryUtils.beanNamesForTypeIncludingAncestors((ListableBeanFactory) parserContext.getRegistry(),
|
||||
DefaultConfiguringBeanFactoryPostProcessor.class, false, false),
|
||||
DEFAULT_CONFIGURING_POSTPROCESSOR_BEAN_NAME);
|
||||
}
|
||||
else {
|
||||
|
||||
Reference in New Issue
Block a user