注解开发bean作用范围与生命周期管理

 singleton是单例,prototype是多例

 

posted @ 2023-07-11 18:35  Karlshell  阅读(17)  评论(0)    收藏  举报