public class NacosAutoServiceRegistration
extends org.springframework.cloud.client.serviceregistry.AbstractAutoServiceRegistration<org.springframework.cloud.client.serviceregistry.Registration>
| 构造器和说明 |
|---|
NacosAutoServiceRegistration(org.springframework.cloud.client.serviceregistry.ServiceRegistry<org.springframework.cloud.client.serviceregistry.Registration> serviceRegistry,
org.springframework.cloud.client.serviceregistry.AutoServiceRegistrationProperties autoServiceRegistrationProperties,
NacosRegistration registration) |
| 限定符和类型 | 方法和说明 |
|---|---|
protected String |
getAppName() |
protected Object |
getConfiguration() |
protected int |
getConfiguredPort() |
protected NacosRegistration |
getManagementRegistration() |
protected NacosRegistration |
getRegistration() |
protected boolean |
isEnabled() |
protected void |
register() |
protected void |
registerManagement() |
protected void |
setConfiguredPort(int port) |
void |
setPort(int port)
已过时。
|
deregister, deregisterManagement, getServiceRegistry, shouldRegisterManagement, stopdestroy, getContext, getEnvironment, getManagementPort, getManagementServiceId, getManagementServiceName, getOrder, getPhase, getPort, getRunning, isAutoStartup, isRunning, onApplicationEvent, setApplicationContext, start, stoppublic NacosAutoServiceRegistration(org.springframework.cloud.client.serviceregistry.ServiceRegistry<org.springframework.cloud.client.serviceregistry.Registration> serviceRegistry,
org.springframework.cloud.client.serviceregistry.AutoServiceRegistrationProperties autoServiceRegistrationProperties,
NacosRegistration registration)
@Deprecated public void setPort(int port)
protected NacosRegistration getRegistration()
getRegistration 在类中 org.springframework.cloud.client.serviceregistry.AbstractAutoServiceRegistration<org.springframework.cloud.client.serviceregistry.Registration>protected NacosRegistration getManagementRegistration()
getManagementRegistration 在类中 org.springframework.cloud.client.serviceregistry.AbstractAutoServiceRegistration<org.springframework.cloud.client.serviceregistry.Registration>protected void register()
register 在类中 org.springframework.cloud.client.serviceregistry.AbstractAutoServiceRegistration<org.springframework.cloud.client.serviceregistry.Registration>protected void registerManagement()
registerManagement 在类中 org.springframework.cloud.client.serviceregistry.AbstractAutoServiceRegistration<org.springframework.cloud.client.serviceregistry.Registration>protected int getConfiguredPort()
getConfiguredPort 在类中 org.springframework.cloud.client.discovery.AbstractDiscoveryLifecycleprotected void setConfiguredPort(int port)
setConfiguredPort 在类中 org.springframework.cloud.client.discovery.AbstractDiscoveryLifecycleprotected Object getConfiguration()
getConfiguration 在类中 org.springframework.cloud.client.discovery.AbstractDiscoveryLifecycleprotected boolean isEnabled()
isEnabled 在类中 org.springframework.cloud.client.discovery.AbstractDiscoveryLifecycleprotected String getAppName()
getAppName 在类中 org.springframework.cloud.client.discovery.AbstractDiscoveryLifecycleCopyright © 2019 Pivotal Software, Inc.. All rights reserved.