singleton:單例,spring預設的建立bean是個單例,在每個IOC容器裡面只有唯一的例項; ... @Scope(value = "singleton") @Service public class ...
確定! 回上一頁