类 AbstractInterfaceConfig

    • 构造器详细资料

      • AbstractInterfaceConfig

        public AbstractInterfaceConfig()
    • 方法详细资料

      • getExportedUrls

        public List<URL> getExportedUrls()
      • toUrl

        public URL toUrl()
      • toUrls

        public List<URL> toUrls()
      • checkRegistry

        public void checkRegistry()
        Check whether the registry config is exists, and then conversion it to RegistryConfig
      • appendRuntimeParameters

        public static void appendRuntimeParameters​(Map<String,​String> map)
      • checkInterfaceAndMethods

        public void checkInterfaceAndMethods​(Class<?> interfaceClass,
                                             List<MethodConfig> methods)
        Check whether the remote service interface and the methods meet with Dubbo's requirements.it mainly check, if the methods configured in the configuration file are included in the interface of remote service
        参数:
        interfaceClass - the interface of remote service
        methods - the methods configured
      • checkStubAndLocal

        public void checkStubAndLocal​(Class<?> interfaceClass)
        Legitimacy check of stub, note that: the local will deprecated, and replace with stub
        参数:
        interfaceClass - for provider side, it is the Class of the service that will be exported; for consumer side, it is the Class of the remote service interface
      • verifyStubAndLocal

        public void verifyStubAndLocal​(String className,
                                       String label,
                                       Class<?> interfaceClass)
      • getLocal

        @Deprecated
        public String getLocal()
        已过时。
        Replace to getStub()
        返回:
        local
      • setLocal

        @Deprecated
        public void setLocal​(Boolean local)
        已过时。
        Replace to setStub(Boolean)
        参数:
        local -
      • setLocal

        @Deprecated
        public void setLocal​(String local)
        已过时。
        Replace to setStub(String)
        参数:
        local -
      • getStub

        public String getStub()
      • setStub

        public void setStub​(Boolean stub)
      • setStub

        public void setStub​(String stub)
      • getCluster

        public String getCluster()
      • setCluster

        public void setCluster​(String cluster)
      • getProxy

        public String getProxy()
      • setProxy

        public void setProxy​(String proxy)
      • getConnections

        public Integer getConnections()
      • setConnections

        public void setConnections​(Integer connections)
      • setFilter

        public void setFilter​(String filter)
      • setListener

        public void setListener​(String listener)
      • getLayer

        public String getLayer()
      • setLayer

        public void setLayer​(String layer)
      • getApplication

        public ApplicationConfig getApplication()
        Always use the global ApplicationConfig
      • setRegistries

        public void setRegistries​(List<? extends RegistryConfig> registries)
      • setRegistryIds

        public void setRegistryIds​(String registryIds)
      • getOwner

        public String getOwner()
      • setOwner

        public void setOwner​(String owner)
      • getCallbacks

        public Integer getCallbacks()
      • setCallbacks

        public void setCallbacks​(Integer callbacks)
      • getOnconnect

        public String getOnconnect()
      • setOnconnect

        public void setOnconnect​(String onconnect)
      • getOndisconnect

        public String getOndisconnect()
      • setOndisconnect

        public void setOndisconnect​(String ondisconnect)
      • getScope

        public String getScope()
      • setScope

        public void setScope​(String scope)
      • setTag

        public void setTag​(String tag)
      • getAuth

        public Boolean getAuth()
      • setAuth

        public void setAuth​(Boolean auth)
      • getSslConfig

        public SslConfig getSslConfig()
      • getVersion

        public String getVersion()
      • setVersion

        public void setVersion​(String version)
      • getGroup

        public String getGroup()
      • setGroup

        public void setGroup​(String group)
      • getInterface

        public String getInterface()
      • setInterface

        public void setInterface​(String interfaceName)