接口的使用
org.apache.dubbo.registry.Registry
-
使用Registry的程序包 程序包 说明 org.apache.dubbo.registry org.apache.dubbo.registry.client * The inspiration of service registration and discovery comes from Spring Cloud Commons.org.apache.dubbo.registry.client.migration org.apache.dubbo.registry.integration org.apache.dubbo.registry.support -
-
org.apache.dubbo.registry中Registry的使用
实现Registry的org.apache.dubbo.registry中的类 修饰符和类型 类 说明 classListenerRegistryWrapper返回Registry的org.apache.dubbo.registry中的方法 修饰符和类型 方法 说明 RegistryListenerRegistryWrapper. getRegistry()RegistryRegistryFactory. getRegistry(URL url)Connect to the registryRegistryRegistryFactoryWrapper. getRegistry(URL url)参数类型为Registry的org.apache.dubbo.registry中的构造器 构造器 说明 ListenerRegistryWrapper(Registry registry, List<RegistryServiceListener> listeners) -
org.apache.dubbo.registry.client中Registry的使用
实现Registry的org.apache.dubbo.registry.client中的类 修饰符和类型 类 说明 classServiceDiscoveryRegistryBeing different to the traditional registry,ServiceDiscoveryRegistrythat is a new service-orientedRegistrybased onServiceDiscovery, it will not interact in the external registry directly, but store theurlsthat Dubbo services exported and referenced intoWritableMetadataServicewhenServiceDiscoveryRegistry.register(URL)andServiceDiscoveryRegistry.subscribe(URL, NotifyListener)methods are executed. -
org.apache.dubbo.registry.client.migration中Registry的使用
参数类型为Registry的org.apache.dubbo.registry.client.migration中的构造器 构造器 说明 MigrationInvoker(RegistryProtocol registryProtocol, Cluster cluster, Registry registry, Class<T> type, URL url, URL consumerUrl)MigrationInvoker(ClusterInvoker<T> invoker, ClusterInvoker<T> serviceDiscoveryInvoker, RegistryProtocol registryProtocol, Cluster cluster, Registry registry, Class<T> type, URL url, URL consumerUrl)ServiceDiscoveryMigrationInvoker(RegistryProtocol registryProtocol, Cluster cluster, Registry registry, Class<T> type, URL url, URL consumerUrl) -
org.apache.dubbo.registry.integration中Registry的使用
返回Registry的org.apache.dubbo.registry.integration中的方法 修饰符和类型 方法 说明 RegistryDynamicDirectory. getRegistry()参数类型为Registry的org.apache.dubbo.registry.integration中的方法 修饰符和类型 方法 说明 <T> ClusterInvoker<T>InterfaceCompatibleRegistryProtocol. getInvoker(Cluster cluster, Registry registry, Class<T> type, URL url)<T> ClusterInvoker<T>RegistryProtocol. getInvoker(Cluster cluster, Registry registry, Class<T> type, URL url)<T> ClusterInvoker<T>InterfaceCompatibleRegistryProtocol. getServiceDiscoveryInvoker(Cluster cluster, Registry registry, Class<T> type, URL url)<T> ClusterInvoker<T>RegistryProtocol. getServiceDiscoveryInvoker(Cluster cluster, Registry registry, Class<T> type, URL url)voidDynamicDirectory. setRegistry(Registry registry) -
org.apache.dubbo.registry.support中Registry的使用
实现Registry的org.apache.dubbo.registry.support中的类 修饰符和类型 类 说明 classAbstractRegistryAbstractRegistry.classFailbackRegistryFailbackRegistry.返回Registry的org.apache.dubbo.registry.support中的方法 修饰符和类型 方法 说明 static RegistryAbstractRegistryFactory. getDefaultNopRegistryIfNotSupportServiceDiscovery()static RegistryAbstractRegistryFactory. getRegistry(String key)RegistryAbstractRegistryFactory. getRegistry(URL url)返回变量类型为Registry的类型的org.apache.dubbo.registry.support中的方法 修饰符和类型 方法 说明 static Collection<Registry>AbstractRegistryFactory. getRegistries()Get all registries参数类型为Registry的org.apache.dubbo.registry.support中的方法 修饰符和类型 方法 说明 static voidAbstractRegistryFactory. removeDestroyedRegistry(Registry toRm)
-