摘要: Spring注解 Spring的依赖注入默认是为单例模式的, 通过配置Scope("prototype")可以保证每次注入时都会创建对象, 来保证线程的安全 阅读全文
posted @ 2016-06-02 10:12 我也姓程 阅读(120) 评论(0) 推荐(0) 编辑