dubbo版本:3.2.9
springboot:2.7
@DubboReference 初始化过程
1、springboot自动装配,DubboAutoConfiguration --> EnableDubboConfig --> DubboConfigConfigurationRegistrar 加载如下代码,beanfactory后置处理器注册beanDefinition
2、registerListeners --> DubboConfigApplicationListener#initDubboConfigBeans() 初始化dubbo
3、finishRefresh --》 onContextRefreshedEvent --》 MouleDeployer.start() --》 referServices(); --》创建Invoker,生成代理类--》 onModuleStarted() 发布module started 事件 --》 ServiceConfig#export















初始化核心类:ServiceAnnotationPostProcessor
java
public class ServiceAnnotationPostProcessor
implements BeanDefinitionRegistryPostProcessor,
EnvironmentAware,
ResourceLoaderAware,
BeanClassLoaderAware,
ApplicationContextAware,
InitializingBean {
实现了BeanDefinitionRegistryPostProcessor接口,在springboot初始化refresh的时候,注册了beanDefinition,然后再getBean doGetBean createBean doCreateBean
通过反射newInstance 实例

https://www.cnblogs.com/mjunz/p/19033131[参考文档](https://www.cnblogs.com/mjunz/p/19033131)