一、Spring IOC常用注解
1、用于Bean申明的注解

2、用于定义Bean配置的注解

3、其他用途的注解

二、基于注解容器AnnotationConfigApplicationContext
AnnotationConfigApplicationContext的其中一个构造方法,传入Java config类,refresh过程实例化Bean(排除懒加载Bean);但是DefaultListableBeanFactory实例化Bean是在getBean方法中
java
public AnnotationConfigApplicationContext(Class<?>... componentClasses) {
this();
register(componentClasses);
refresh();
}
三、AnnotationConfigApplicationContext处理流程


