ITeye博客

spring中的注解相关解释

annybz · 2013-11-28 10:21 · Spring · 移动开发 · Markdown

Spring在Action上面注解@Scope("prototype")

表示每次接收一个请求创建一个Action对象.

@Scope("singleton") 单例模式,表示很多请求公用一个Action

评论(0)

暂无评论。

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