1. How Spring Autowiring Workshistorical

    Dependency resolution by type/qualifier/name metadata and the BeanPostProcessor infrastructure behind annotation injection.

  2. 2.47 Spring常用注解historical

    注解作用 @Configuration 相当于之前的applicationContext.xml,就是一个配置文件 @ComponentScan 配置扫描包,如果有@Controller,@Service,@Repositiry,@Component修饰的,则把它加入ioc容器中 @Bean 配合@