在bean容器中注册BeanDefinition后,在使用bean时才会实例化
作者: KodyFeng创建于 2023年9月15日更新于 2023年9月15日
The bean container is an implementation class of both the BeanDefinitionRegistry and the SingletonBeanRegistry, and it has the capabilities of both. After registering a BeanDefinition in the bean container, the bean will be instantiated only when it is used. In the Spring container, there are two main types of bean scope:
内容来源: DerekYRC/mini-spring