“Spring Boot 常见注解”的版本间的差异

来自姬鸿昌的知识库
跳到导航 跳到搜索
第1行: 第1行:
{|
+
=== ConditionalOnMissingBean ===
![https://docs.spring.io/spring-boot/docs/2.0.1.RELEASE/api/index.html?org/springframework/boot/autoconfigure/condition/ConditionalOnMissingBean.html ConditionalOnMissingBean]
+
https://docs.spring.io/spring-boot/docs/2.0.1.RELEASE/api/index.html?org/springframework/boot/autoconfigure/condition/ConditionalOnMissingBean.html
!
+
 
!
+
仅当指定的 bean 类和/或名称尚未包含在 BeanFactory 中时才匹配。
!
 
|-
 
|
 
|
 
|
 
|
 
|-
 
|
 
|
 
|
 
|
 
|-
 
|
 
|
 
|
 
|
 
|}
 

2023年1月31日 (二) 01:38的版本

ConditionalOnMissingBean

https://docs.spring.io/spring-boot/docs/2.0.1.RELEASE/api/index.html?org/springframework/boot/autoconfigure/condition/ConditionalOnMissingBean.html

仅当指定的 bean 类和/或名称尚未包含在 BeanFactory 中时才匹配。