摘要: 第三章:1.bean的高级装配 profile: 开发环境(dev),QA环境(qa),生产环境(prod) 1.配置profile bean: 1.1基于注解的形式: @Profile注解可以指定某个bean属于哪个profile,Spring3.1时@Profile注解只能加在类上,Spring 阅读全文
posted @ 2020-01-02 17:15 MyBeans 阅读(324) 评论(0) 推荐(0) 编辑