摘要: 一、前言 本文承接上一节:Spring_总结_04_高级配置(一)之Profile 在上一节,我们了解到 Profile 为不同环境下使用不同的配置提供了支持,那么Profile到底是如何实现的呢?其实Profile正是通过条件注解来实现的。 条件注解的应用场景举例: (1)希望一个或多个 bean 阅读全文
posted @ 2018-08-05 20:29 shirayner 阅读(527) 评论(0) 推荐(0) 编辑