javaweb學習總結(八)Spring中bean的scope詳解

轉載註明出處:https://www.cnblogs.com/jianyungsun/p/6839612.html 如何使用spring的做用域: <bean id="role" class="spring.chapter2.maryGame.Role" scope="singleton"/> 這裏的scope就是用來配置spring bean的做用域,它標識bean的做用域。在spring2.0
相關文章
相關標籤/搜索