在Spring Framework 中bean都有自己的作用域(scope), scope的配置方法如下: <bean id="myBean" class="com.citi.crc.User" scope="singleton"/> 在sprin……