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:

  3. Spring context loads dubbo xml configuration or annotations

  4. Manually start the module: ModuleModel.getDeployer().start()

  5. Service Interface API Startup
    ServiceConfig.export() or ReferenceConfig.get() first automatically starts the module, and then executes export/refer service interfaces

Feedback

Was this page helpful?

Yes No

Last modified September 30, 2024: Update & Translate Overview Docs (#3040) (d37ebceaea7)