在spring 1.0中,只需要配置singleton="false"就行了
可是在spring2.0中,使用scope="singleton" 或者 "prototype" 代替singleton="true/false"
spring2.0 关于singleton 的修改
最新推荐文章于 2023-03-15 23:35:35 发布
在spring 1.0中,只需要配置singleton="false"就行了
可是在spring2.0中,使用scope="singleton" 或者 "prototype" 代替singleton="true/false"