会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
Loading
shimeath
博客园
首页
新随笔
联系
订阅
管理
2020年4月6日
bean scope——bean的作用域及注意点
摘要: singleton 注意事项: 默认为singleton,即为单例。 整个应用共享,需考虑线程安全。 配置方式: <bean id="" class="" scope="singleton" >或<bean id="" class="" > prototype 注意事项: 需要在scope属性中指定
阅读全文
posted @ 2020-04-06 10:23 shimeath
阅读(265)
评论(0)
推荐(0)
公告