If you want to define bean scope using annotation then you can use @Scope annotation along with the required scope. @Service @Scope("singleton") ...
確定! 回上一頁