Where is spring context stored? In which data structure? ( I heard it's just a Map, is it?) ( I don't mean the path to the xml file, I mean when Spring read bean definitions it stored the information about it somewhere and injects it)
Asked
Active
Viewed 176 times
0
-
1possible reference https://stackoverflow.com/questions/25565706/spring-core-framework-where-are-the-beans-hold – silentsudo May 29 '20 at 16:26
1 Answers
1
org.springframework.beans.factory.support.DefaultSingletonBeanRegistry
private final Map<String, Object> singletonObjects = new ConcurrentHashMap(256);
Singleton beans are stored here.

Gurkan İlleez
- 1,503
- 1
- 10
- 12