#circular-dependency
Posts
-
Digging into Spring's Source 4: How a Bean Gets Created — the Creation Flow and the Three-Level Cache
What happens inside Spring when getBean() is called once, followed step by step for someone new to Spring. The cache lookup, the three creation steps (instantiate, inject, initialise), and how three maps untangle a circular reference where A needs B and B needs A — all checked against the real source.