摘要: @Bean 相当于以前xml上的<bean>就是告诉spring,让spring管理这个对象。一般返回一个单例。全局有效。 阅读全文
posted @ 2017-06-13 15:53 钟政123 阅读(255) 评论(0) 推荐(0) 编辑