spring上下文存储在哪里?数据结构是什么?

spring上下文存储在哪里?数据结构是什么?,spring,spring-context,Spring,Spring Context,spring上下文存储在哪里?在哪个数据结构中?(我听说这只是一张地图,是吗?) (我不是指xml文件的路径,我是指当Spring读取bean定义时,它将有关它的信息存储在某处并注入它)org.springframework.beans.factory.support.DefaultSingletonBeanRegistry 私有最终映射singletonObjects=新的ConcurrentHashMap(256); 单例bean存储在这里。可能的引用 org.springframewor

spring上下文存储在哪里?在哪个数据结构中?(我听说这只是一张地图,是吗?) (我不是指xml文件的路径,我是指当Spring读取bean定义时,它将有关它的信息存储在某处并注入它)

org.springframework.beans.factory.support.DefaultSingletonBeanRegistry
私有最终映射singletonObjects=新的ConcurrentHashMap(256);
单例bean存储在这里。

可能的引用
org.springframework.beans.factory.support.DefaultSingletonBeanRegistry

private final Map<String, Object> singletonObjects = new ConcurrentHashMap(256);