| Package | Description |
|---|---|
| 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 |
| Modifier and Type | Class and Description |
|---|---|
class |
ListenerRegistryWrapper |
| Modifier and Type | Method and Description |
|---|---|
Registry |
ListenerRegistryWrapper.getRegistry() |
Registry |
RegistryFactory.getRegistry(URL url)
Connect to the registry
|
Registry |
RegistryFactoryWrapper.getRegistry(URL url) |
| Constructor and Description |
|---|
ListenerRegistryWrapper(Registry registry,
List<RegistryServiceListener> listeners) |
| Modifier and Type | Class and Description |
|---|---|
class |
ServiceDiscoveryRegistry
Being different to the traditional registry,
ServiceDiscoveryRegistry that is a new service-oriented
Registry based on ServiceDiscovery, it will not interact in the external registry directly,
but store the urls that Dubbo services exported and referenced into WritableMetadataService
when ServiceDiscoveryRegistry.register(URL) and ServiceDiscoveryRegistry.subscribe(URL, NotifyListener) methods are executed. |
| Constructor and Description |
|---|
MigrationInvoker(ClusterInvoker<T> invoker,
ClusterInvoker<T> serviceDiscoveryInvoker,
RegistryProtocol registryProtocol,
Cluster cluster,
Registry registry,
Class<T> type,
URL url,
URL consumerUrl) |
MigrationInvoker(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) |
| Modifier and Type | Method and Description |
|---|---|
Registry |
DynamicDirectory.getRegistry() |
| Modifier and Type | Method and Description |
|---|---|
<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) |
void |
DynamicDirectory.setRegistry(Registry registry) |
| Modifier and Type | Class and Description |
|---|---|
class |
AbstractRegistry
AbstractRegistry.
|
class |
FailbackRegistry
FailbackRegistry.
|
| Modifier and Type | Method and Description |
|---|---|
static Registry |
AbstractRegistryFactory.getDefaultNopRegistryIfNotSupportServiceDiscovery() |
static Registry |
AbstractRegistryFactory.getRegistry(String key) |
Registry |
AbstractRegistryFactory.getRegistry(URL url) |
| Modifier and Type | Method and Description |
|---|---|
static Collection<Registry> |
AbstractRegistryFactory.getRegistries()
Get all registries
|
| Modifier and Type | Method and Description |
|---|---|
static void |
AbstractRegistryFactory.removeDestroyedRegistry(Registry toRm) |
Copyright © 2011–2022 The Apache Software Foundation. All rights reserved.