摘要:
http://www.iteye.com/topic/1123824 我们知道在一般情况下,只有无状态的Bean才可以在多线程环境下共享,在Spring中,绝大部分Bean都可以声明为singleton作用域。就是因为Spring对一些Bean(如RequestContextHolder、Trans 阅读全文
posted @ 2015-01-07 12:33
lihui1625
阅读(426)
评论(0)
推荐(0)
摘要:
复杂一点的 更简单的 阅读全文
posted @ 2015-01-07 11:30
lihui1625
阅读(106)
评论(0)
推荐(0)