摘要: 1、@Configuration 的 proxyBeanMethods 属性,意思是不是代理bean的方法。 proxyBeanMethods 属性默认为true,则为代理bean,且代理bean中的方法。所以,无论获取多少遍该配置类或者该配置类中的方法,均为单例。 若为 false,则Spring 阅读全文
posted @ 2021-05-21 16:21 Dkwestworld 阅读(115) 评论(0) 推荐(0) 编辑