摘要: spring中@profile与maven中的profile很相似,通过配置来改变参数。例如在开发环境与生产环境使用不同的参数,可以配置两套配置文件,通过@profile来激活需要的环境,但维护两套配置文件不如maven中维护一套配置文件,在pom中通过profile来修改配置文件的参数来的实惠。 阅读全文
posted @ 2017-10-13 11:56 PointNet 阅读(1331) 评论(0) 推荐(0) 编辑
摘要: ou can implement simple factory bean to do the conditional wiring. Such factory bean can contain complex conditioning logic: Maybe a bit better approa 阅读全文
posted @ 2017-10-13 10:50 PointNet 阅读(356) 评论(0) 推荐(0) 编辑