Spring源码分析:循环依赖

Spring在默认单例状况下是支持循环引用的。java 1,什么是循环引用 @Component public class BbService { @Autowired CcService ccService; public BbService() { System.out.println("constructor from BbService"); } } @Component
相关文章
相关标签/搜索