Spring Circular Dependency Graph
2024-12-30 09:37:13 0 Report
Login to view full content
Other creations by the author
Outline/Content
Nonexistent
Three-level cache (Map)
None
getBean(B.class) depends on B
Output: Primary cache returns B object
Start
getBean(A.class)
getBean(A.class) depends on A
CreateBeanInstance()Instantiate A
Look up the cache
Cache B Singleton Factory
Cache A singleton factory
CreateBeanInstance()Instantiate B
Find
populateBean()
initializeBean()Complete initialization A
Spring's three-level cache
Return to early references of A
Find the first-level cache
First-level cache (Map)
Secondary cache (Map)
initializeBean()Complete initialization B
None and not in the process of being created
End
Collect
Collect
Collect
Collect
0 Comments
Next page
Recommended for you
More