程序包 org.apache.dubbo.registry.client
* The inspiration of service registration and discovery comes from
Spring Cloud Commons.
- 从以下版本开始:
- 2.7.5
-
接口概要 接口 说明 RegistryClusterIdentifier ServiceDiscovery Defines the common operations of Service Discovery, extended and loaded by ServiceDiscoveryFactoryServiceDiscoveryFactory The factory to createServiceDiscoveryServiceDiscoveryService ServiceInstance The model class of an instance of a service, which is used for service registration and discovery.ServiceInstanceCustomizer The interface to customizethe service instance -
类概要 类 说明 AbstractServiceDiscovery Each service discovery is bond to one application.AbstractServiceDiscoveryFactory AbstractServiceDiscoveryFactoryimplementation with cache, the subclass should implementAbstractServiceDiscoveryFactory.createDiscovery(URL)method to create an instance ofServiceDiscoveryDefaultRegistryClusterIdentifier DefaultServiceDiscoveryFactory This class is designed for compatibility purpose.DefaultServiceInstance The default implementation ofServiceInstance.DefaultServiceInstance.Endpoint InstanceAddressURL NopServiceDiscovery OverrideInstanceAddressURL ServiceDiscoveryRegistry TODO, this bridge implementation is not necessary now, protocol can interact with service discovery directly.ServiceDiscoveryRegistryDirectory<T> ServiceDiscoveryRegistryFactory