Startup Process and Module Dependency
The process of starting multiple instances of Dubbo and the dependency relationships between modules.
- Application Startup Process
Initialize application configuration, start internal modules, and start other modules.
The application startup methods include: DubboBootstrap.start(), ApplicationModel.getDeployer().start()
- Module Startup Process
Starting from ModuleDeployer.start() in the diagram above, automatically initialize application configuration, start internal modules, and then start the current module.
Module startup methods include:
- Spring context loads dubbo xml configuration or annotations
- Manually start the module: ModuleModel.getDeployer().start()
- Service Interface API Startup
ServiceConfig.export() or ReferenceConfig.get() first automatically starts the module, and then executes export/refer service interfaces