【发布时间】:2012-07-13 22:31:31
【问题描述】:
例如,如果我在 application-context.xml 中声明:
<context:annotation-config/>
隐式注册的后处理器包括 AutowiredAnnotationBeanPostProcessor, CommonAnnotationBeanPostProcessor, PersistenceAnnotationBeanPostProcessor,以及前面提到的 必需的AnnotationBeanPostProcessor。
但我想知道 Spring 是如何在幕后工作的,我认为这个 1-liner 被转换为文档中提到的后处理器的几个 bean 定义。
不过,我的问题是,哪个 Spring 组件/类实现了这种“从 1-liner 到多个 bean 定义的转换”功能?
【问题讨论】:
标签: java spring xml-namespaces applicationcontext post-processing