1:作用域的种类(Spring容器默认的作用域为singleton)
【注】其中前两种最为常用
2:singleton作用域【该域是Spring容器默认的作用域】
3:prototype(原型)作用域
扫描二维码关注公众号,回复:
9394500 查看本文章
1:作用域的种类(Spring容器默认的作用域为singleton)
【注】其中前两种最为常用
2:singleton作用域【该域是Spring容器默认的作用域】
3:prototype(原型)作用域