随笔 - 657  文章 - 4  评论 - 213  阅读 - 432万
01 2018 档案
ConditionalOnProperty
摘要:配置Spring Boot通过@ConditionalOnProperty来控制Configuration是否生效 1、matchIfMissing属性:从application.properties中读取某个属性值,如果该值为空,默认值为true 2、havingValue属性:通过其两个属性na 阅读全文
posted @ 2018-01-19 12:07 一路前行 阅读(14559) 评论(0) 推荐(1) 编辑

< 2025年3月 >
23 24 25 26 27 28 1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30 31 1 2 3 4 5

点击右上角即可分享
微信分享提示