public class NacosServiceRegistryDecorator
extends com.alibaba.cloud.nacos.registry.NacosServiceRegistry
| 构造器和说明 |
|---|
NacosServiceRegistryDecorator(com.alibaba.cloud.nacos.NacosDiscoveryProperties nacosDiscoveryProperties,
com.alibaba.cloud.nacos.registry.NacosServiceRegistry serviceRegistry,
org.springframework.context.ConfigurableApplicationContext applicationContext) |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
close() |
void |
deregister(org.springframework.cloud.client.serviceregistry.Registration registration) |
org.springframework.core.env.ConfigurableEnvironment |
getEnvironment() |
Object |
getStatus(org.springframework.cloud.client.serviceregistry.Registration registration) |
void |
register(org.springframework.cloud.client.serviceregistry.Registration registration) |
void |
setStatus(org.springframework.cloud.client.serviceregistry.Registration registration,
String status) |
public NacosServiceRegistryDecorator(com.alibaba.cloud.nacos.NacosDiscoveryProperties nacosDiscoveryProperties,
com.alibaba.cloud.nacos.registry.NacosServiceRegistry serviceRegistry,
org.springframework.context.ConfigurableApplicationContext applicationContext)
public void register(org.springframework.cloud.client.serviceregistry.Registration registration)
register 在接口中 org.springframework.cloud.client.serviceregistry.ServiceRegistry<org.springframework.cloud.client.serviceregistry.Registration>register 在类中 com.alibaba.cloud.nacos.registry.NacosServiceRegistrypublic void deregister(org.springframework.cloud.client.serviceregistry.Registration registration)
deregister 在接口中 org.springframework.cloud.client.serviceregistry.ServiceRegistry<org.springframework.cloud.client.serviceregistry.Registration>deregister 在类中 com.alibaba.cloud.nacos.registry.NacosServiceRegistrypublic void setStatus(org.springframework.cloud.client.serviceregistry.Registration registration,
String status)
setStatus 在接口中 org.springframework.cloud.client.serviceregistry.ServiceRegistry<org.springframework.cloud.client.serviceregistry.Registration>setStatus 在类中 com.alibaba.cloud.nacos.registry.NacosServiceRegistrypublic Object getStatus(org.springframework.cloud.client.serviceregistry.Registration registration)
getStatus 在接口中 org.springframework.cloud.client.serviceregistry.ServiceRegistry<org.springframework.cloud.client.serviceregistry.Registration>getStatus 在类中 com.alibaba.cloud.nacos.registry.NacosServiceRegistrypublic void close()
close 在接口中 org.springframework.cloud.client.serviceregistry.ServiceRegistry<org.springframework.cloud.client.serviceregistry.Registration>close 在类中 com.alibaba.cloud.nacos.registry.NacosServiceRegistrypublic org.springframework.core.env.ConfigurableEnvironment getEnvironment()
Copyright © 2021 Nepxion. All rights reserved.