登 录
Scope可以取值为Singleton和Prototype。Singleton即使是在多次使用getbean()方法,返回的是相同的实例。而prototype则返回不同的实例。
抱歉!评论已关闭.