目前据我阅读源码所已知的基础设施类有6个,这6个类由AnnotatedBeanDefinitionReader
负责加载,因为基础设施类属于自定义指定包下的类,它们分别是
在容器中的名字:
org.springframework.context.annotation.internalConfigurationAnnotationProcessor
实际的类:
org.springframework.context.annotation.ConfigurationClassPostProcessor
在容器中的名字org.springframework.context.annotation.internalAutowiredAnnotationProcessor,
实际的类
org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor
在容器中的名字
org.springframework.context.annotation.internalRequiredAnnotationProcessor,
实际的类org.springframework.beans.factory.annotation.RequiredAnnotationBeanPostProcessor
在容器中的名字org.springframework.context.annotation.internalCommonAnnotationProcessor,
实际的类org.springframework.context.annotation.CommonAnnotationBeanPostProcessor
在容器中的名字org.springframework.context.event.internalEventListenerProcessor,
实际的类
org.springframework.context.event.EventListenerMethodProcessor
在容器中的名字
org.springframework.context.event.internalEventListenerFactory,
实际的类
org.springframework.context.event.DefaultEventListenerFactory