Spring Bean 创建(2)
1. 入口
AnnotationConfigApplicationContext annotationConfigApplicationContext = new AnnotationConfigApplicationContext(
AppConfig.class);
1.1. spring 构造器
public AnnotationConfigApplicationContext(Class<?>... componentClasses) {
this();
this.register(componentClasses);
this.refresh();
}
1.2. 流程


浙公网安备 33010602011771号