ITeye博客

详解Spring中bean的作用域

qi_ling2005 · 2015-12-27 07:24 · 一步一步学习Spring · 编程语言 · Markdown

Spring中bean的作用域有 :

<bean id="role" class="spring.chapter2.maryGame.Role" scope="singleton"/>

<bean id="role" class="spring.chapter2.maryGame.Role" scope="prototype"/>

...

详见:http://blog.csdn.net/providencezy/article/details/1878582

评论(0)

暂无评论。

评论功能维护中,当前仅展示历史评论。