You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
419f92d381
Previously, a number of usages of @ConditionalOnMissingBean prevented a bean that implements an auto-configured bean's "main" interface from causing the auto-configuration of the bean to back off. This would happen when @ConditionalOnMissingBean did not specify a type, the @Bean method returned the bean's concrete type, and that concreate type implements a "main" interface. This commit updates such usages of @ConditionalOnMissingBean to specify the "main" interface as the type of the bean that must be missing. This will allow, for example, the auto-configured MongoTemplate bean to back off when a MongoOperations bean is defined. Fixes gh-18101 |
5 years ago | |
---|---|---|
.. | ||
spring-boot | 5 years ago | |
spring-boot-actuator | 5 years ago | |
spring-boot-actuator-autoconfigure | 5 years ago | |
spring-boot-autoconfigure | 5 years ago | |
spring-boot-cli | 5 years ago | |
spring-boot-dependencies | 5 years ago | |
spring-boot-devtools | 5 years ago | |
spring-boot-docs | 5 years ago | |
spring-boot-parent | 5 years ago | |
spring-boot-properties-migrator | 5 years ago | |
spring-boot-starters | 5 years ago | |
spring-boot-test | 5 years ago | |
spring-boot-test-autoconfigure | 5 years ago | |
spring-boot-tools | 5 years ago | |
pom.xml | 6 years ago |