GH-554 Fix condition check for annotation processor in initializer
Resolves #554
This commit is contained in:
@@ -123,7 +123,7 @@ public class ContextFunctionCatalogInitializer implements ApplicationContextInit
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (!this.context.getBeanFactory()
|
if (!this.context.getBeanFactory()
|
||||||
.containsBean(AnnotationConfigUtils.CONFIGURATION_ANNOTATION_PROCESSOR_BEAN_NAME)) {
|
.containsBeanDefinition(AnnotationConfigUtils.CONFIGURATION_ANNOTATION_PROCESSOR_BEAN_NAME)) {
|
||||||
// Switch off the ConfigurationClassPostProcessor
|
// Switch off the ConfigurationClassPostProcessor
|
||||||
this.context.registerBean(AnnotationConfigUtils.CONFIGURATION_ANNOTATION_PROCESSOR_BEAN_NAME,
|
this.context.registerBean(AnnotationConfigUtils.CONFIGURATION_ANNOTATION_PROCESSOR_BEAN_NAME,
|
||||||
DummyProcessor.class, () -> new DummyProcessor());
|
DummyProcessor.class, () -> new DummyProcessor());
|
||||||
|
|||||||
Reference in New Issue
Block a user