摘要: Spring Bean 作用域 主要了解 singleton 和 prototype 就好了,他们分别使用 单例模式 和 原型模式 | 来源 | 说明 | | | | | singleton | 默认作用域,一个BeanFactory有且仅有一个实例(并不是在JVM进程里是唯一的) | | prot 阅读全文
posted @ 2023-02-26 10:49 yangruomao 阅读(154) 评论(1) 推荐(0) 编辑