基于注解的spring
2024-07-12 15:15:31 0 举报
基于注解的spring解析图解
作者其他创作
大纲/内容
处理扫描注解ComponentScans
processConfigurationClass
AnnotationConfigApplicationContext
ConfigurationClassPostProcessor
AnnotatedBeanDefinitionReader
AutowiredAnnotationBeanPostProcessor
Configuration注解解析
parse
注解扫描
isFullConfigurationCandidate
this
checkConfigurationClassCandidate
AnnotationConfigUtils
processConfigBeanDefinitions
isLiteConfigurationCandidate
ImportResource
registerAnnotationConfigProcessors
ComponentScan,Component,Import,ImportResource注解解析
EventListenerMethodProcessor
DefaultEventListenerFactory
CommonAnnotationBeanPostProcessor
doProcessConfigurationClass
注册各种Process,在后面执行invoke的时候会被执行
构造函数this
ConfigurationClassParser
0 条评论
下一页