spring中bean的设计模式

默认的是单例的.
如果不想单例需要如下配置:
<bean id="user" class="..." singleton="false"/>

posted @ 2013-06-23 16:38  jlins  阅读(438)  评论(0编辑  收藏  举报