可以設定為@Scope("request")、@Scope("prototype")等,預設為singleton. 當Bean的scope為singleton時,一個IoC容器只會為這個Bean建立一個實例,.
確定! 回上一頁