Startup Process and Module Dependency

The process of starting multiple instances of Dubbo and the dependency relationships between modules.
  1. Application Startup Process
    Initialize application configuration, start internal modules, and start other modules.
    The application startup methods include: DubboBootstrap.start(), ApplicationModel.getDeployer().start()
    Dubbo start process.svg
  2. 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:
  1. Spring context loads dubbo xml configuration or annotations
  2. Manually start the module: ModuleModel.getDeployer().start()
  1. Service Interface API Startup
    ServiceConfig.export() or ReferenceConfig.get() first automatically starts the module, and then executes export/refer service interfaces
Last modified September 30, 2024: Translate (22d3d83a3b)