GH-2728 Reverse order of propagation of beans between parent and child context
Resolves #2728
This commit is contained in:
@@ -501,7 +501,7 @@ public class DefaultBinderFactory implements BinderFactory, DisposableBean, Appl
|
||||
binderProducingContext);
|
||||
}
|
||||
if (!useApplicationContextAsParent || "integration".equals(binderType.getDefaultName())) {
|
||||
this.propagateSharedBeans((GenericApplicationContext) this.context, binderProducingContext);
|
||||
this.propagateSharedBeans(binderProducingContext, (GenericApplicationContext) this.context);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user