Spring 注解原理(一)组件注册 Spring 系列目录(https://www.cnblogs.com/binarylei/p/10198698.html) 当我们需要使用 Spring 提供的注解开发时,必须在 Spring 容器中声明相关的组件.如 @Autowired 必须注册 AutowiredAnnotationBeanPostProcessor 组件,如果每个组件都需要手动注册未免太麻烦了吧,所以 Spring 为我们提供了自动注入这些组件的方式.<context:annota…