Java主類,Spring-基礎設施類

 2023-10-15 阅读 34 评论 0

摘要:目前據我閱讀源碼所已知的基礎設施類有6個,這6個類由AnnotatedBeanDefinitionReader 負責加載,因為基礎設施類屬于自定義指定包下的類,它們分別是 在容器中的名字: org.springframework.context.annotation.internalConfigurationAnnotationProcessor 實

目前據我閱讀源碼所已知的基礎設施類有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

Java主類、在容器中的名字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

這些基礎設施類由SpringFactoriesLoader類創建其java對象

版权声明:本站所有资料均为网友推荐收集整理而来,仅供学习和研究交流使用。

原文链接:https://hbdhgg.com/4/137061.html

发表评论:

本站为非赢利网站,部分文章来源或改编自互联网及其他公众平台,主要目的在于分享信息,版权归原作者所有,内容仅供读者参考,如有侵权请联系我们删除!

Copyright © 2022 匯編語言學習筆記 Inc. 保留所有权利。

底部版权信息