Class ApplicationModel

java.lang.Object
org.apache.dubbo.rpc.model.ScopeModel
org.apache.dubbo.rpc.model.ApplicationModel
All Implemented Interfaces:
ExtensionAccessor

public class ApplicationModel extends ScopeModel
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 an 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.