spring中bean的设计模式时间:2023-03-09 19:49:38 默认的是单例的. 如果不想单例需要如下配置: <bean id="user" class="..." singleton="false"/>