Allow dependsOn relationships created by post-processor to be overridden
Previously, AbstractDependsOnBeanFactoryPostProcessor was unordered which meant that it was impossible to guarantee that another bean factory post-processor would run after it. This prevented overriding of the dependsOn relationships that is creates. This commit updates AbstractDependsOnBeanFactoryPostProcessor to give it a default order of zero. This will allow additional bean factory post-processors to be configured with a lower precedence order (values greater than 0) so that they run after any AbstractDependsOnBeanFactoryPostProcessor and can override the dependencies that it has configured. Fixes gh-18362pull/19101/head
parent
987a5f8103
commit
69a95ce5c1
Loading…
Reference in New Issue