@Deprecated public abstract class AbstractSpringCloudRegistry extends org.apache.dubbo.registry.support.FailbackRegistry
RegistryFactory uses Spring Cloud Service Registration
abstraction, whose protocol is "spring-cloud".| Modifier and Type | Field and Description |
|---|---|
protected static String |
DUBBO_METADATA_SERVICE_CLASS_NAME
Deprecated.
|
protected org.slf4j.Logger |
logger
Deprecated.
|
static String |
SERVICES_LOOKUP_INTERVAL_PARAM_NAME
Deprecated.
The parameter name of
servicesLookupInterval. |
| Constructor and Description |
|---|
AbstractSpringCloudRegistry(org.apache.dubbo.common.URL url,
org.springframework.cloud.client.discovery.DiscoveryClient discoveryClient,
DubboServiceMetadataRepository dubboServiceMetadataRepository,
DubboMetadataServiceProxy dubboMetadataConfigServiceProxy,
JSONUtils jsonUtils,
DubboGenericServiceFactory dubboGenericServiceFactory,
org.springframework.context.ConfigurableApplicationContext applicationContext)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
void |
doRegister(org.apache.dubbo.common.URL url)
Deprecated.
|
protected abstract void |
doRegister0(org.apache.dubbo.common.URL url)
Deprecated.
The sub-type should implement to register.
|
void |
doSubscribe(org.apache.dubbo.common.URL url,
org.apache.dubbo.registry.NotifyListener listener)
Deprecated.
|
void |
doUnregister(org.apache.dubbo.common.URL url)
Deprecated.
|
protected abstract void |
doUnregister0(org.apache.dubbo.common.URL url)
Deprecated.
The sub-type should implement to unregister.
|
void |
doUnsubscribe(org.apache.dubbo.common.URL url,
org.apache.dubbo.registry.NotifyListener listener)
Deprecated.
|
protected boolean |
isAdminURL(org.apache.dubbo.common.URL url)
Deprecated.
|
boolean |
isAvailable()
Deprecated.
|
protected boolean |
isDubboMetadataServiceURL(org.apache.dubbo.common.URL url)
Deprecated.
|
protected boolean |
shouldRegister(org.apache.dubbo.common.URL url)
Deprecated.
|
protected void |
subscribeDubboServiceURL(org.apache.dubbo.common.URL url,
org.apache.dubbo.registry.NotifyListener listener,
String serviceName,
Function<String,Collection<org.springframework.cloud.client.ServiceInstance>> serviceInstancesFunction)
Deprecated.
|
protected void |
subscribeDubboServiceURLs(org.apache.dubbo.common.URL url,
org.apache.dubbo.registry.NotifyListener listener)
Deprecated.
|
addFailedSubscribed, destroy, doNotify, notify, recover, reExportRegister, reExportUnregister, register, removeFailedNotifiedTask, removeFailedRegisteredTask, removeFailedSubscribedTask, removeFailedUnregisteredTask, removeFailedUnsubscribedTask, subscribe, unregister, unsubscribepublic static final String SERVICES_LOOKUP_INTERVAL_PARAM_NAME
servicesLookupInterval.protected static final String DUBBO_METADATA_SERVICE_CLASS_NAME
protected final org.slf4j.Logger logger
public AbstractSpringCloudRegistry(org.apache.dubbo.common.URL url,
org.springframework.cloud.client.discovery.DiscoveryClient discoveryClient,
DubboServiceMetadataRepository dubboServiceMetadataRepository,
DubboMetadataServiceProxy dubboMetadataConfigServiceProxy,
JSONUtils jsonUtils,
DubboGenericServiceFactory dubboGenericServiceFactory,
org.springframework.context.ConfigurableApplicationContext applicationContext)
protected boolean shouldRegister(org.apache.dubbo.common.URL url)
public final void doRegister(org.apache.dubbo.common.URL url)
doRegister in class org.apache.dubbo.registry.support.FailbackRegistryprotected abstract void doRegister0(org.apache.dubbo.common.URL url)
url - URLpublic final void doUnregister(org.apache.dubbo.common.URL url)
doUnregister in class org.apache.dubbo.registry.support.FailbackRegistryprotected abstract void doUnregister0(org.apache.dubbo.common.URL url)
url - URLpublic final void doSubscribe(org.apache.dubbo.common.URL url,
org.apache.dubbo.registry.NotifyListener listener)
doSubscribe in class org.apache.dubbo.registry.support.FailbackRegistryprotected void subscribeDubboServiceURLs(org.apache.dubbo.common.URL url,
org.apache.dubbo.registry.NotifyListener listener)
protected void subscribeDubboServiceURL(org.apache.dubbo.common.URL url,
org.apache.dubbo.registry.NotifyListener listener,
String serviceName,
Function<String,Collection<org.springframework.cloud.client.ServiceInstance>> serviceInstancesFunction)
public final void doUnsubscribe(org.apache.dubbo.common.URL url,
org.apache.dubbo.registry.NotifyListener listener)
doUnsubscribe in class org.apache.dubbo.registry.support.FailbackRegistrypublic boolean isAvailable()
protected boolean isAdminURL(org.apache.dubbo.common.URL url)
protected boolean isDubboMetadataServiceURL(org.apache.dubbo.common.URL url)
Copyright © 2021 Pivotal Software, Inc.. All rights reserved.