类 ApplicationModel


  • public class ApplicationModel
    extends Object
    ExtensionLoader, DubboBootstrap and this class are at present designed to be singleton or static (by itself totally static or uses some static fields). So the instances returned from them are of process scope. If you want to support multiple dubbo servers in one single process, you may need to refactor those three classes. Represent a application which is using Dubbo and store basic metadata info for using during the processing of RPC invoking.

    ApplicationModel includes many ProviderModel which is about published services and many Consumer Model which is about subscribed services.