Spring Bean的作用域Spring 为Bean定义了5种作用域,分别为:
singleton (单例)
prototype (原型)
request
session
global session
singleton-单例模式(
2021-10-02