Bootstrap

Spring 源码解读:自定义Bean定义与@Bean注解的实现 原创

SimpleBeanFactory
-Map<String, Object> beanMap
-Map<String, BeanDefinition> beanDefinitionMap
+SimpleBeanFactory(Class<?> configClass)
+Object getBean(String name)
+BeanDefinition getBeanDefinition(String name)
BeanDefinition
-Class<?> beanClass
+Class~?~ getBeanClass()
+void setBeanClass(Class<?> beanClass)
AppConfig
+Service service()
Service
;