阅读背景:

Spring里bean(@Bean@Component) 的作用域@scope

来源:互联网 
@RestController
@Scope("request")
//当不添加scope 默认为sigleton 单例模式 全局使用一个对象//当不添加scope



你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: