1.可以通过<bean>定义的scope属性指定Bean对象的作用域或者使用注解@Scope指定Bean对象的作用域。 2.默认Bean对象的作用域为singleton。 转载于:https://www.cnblogs.com/myhdc/p/8522583.html