public class NacosAutoServiceRegistration
extends org.springframework.cloud.client.serviceregistry.AbstractAutoServiceRegistration<org.springframework.cloud.client.serviceregistry.Registration>
| Constructor and Description |
|---|
NacosAutoServiceRegistration(org.springframework.cloud.client.serviceregistry.ServiceRegistry<org.springframework.cloud.client.serviceregistry.Registration> serviceRegistry,
org.springframework.cloud.client.serviceregistry.AutoServiceRegistrationProperties autoServiceRegistrationProperties,
NacosRegistration registration) |
| Modifier and Type | Method and Description |
|---|---|
protected String |
getAppName() |
protected Object |
getConfiguration() |
protected NacosRegistration |
getManagementRegistration() |
protected NacosRegistration |
getRegistration() |
protected boolean |
isEnabled() |
protected void |
register() |
protected void |
registerManagement() |
void |
setPort(int port)
Deprecated.
|
bind, deregister, deregisterManagement, destroy, getContext, getEnvironment, getManagementPort, getManagementServiceId, getManagementServiceName, getOrder, getPhase, getPort, getRunning, getServiceRegistry, isAutoStartup, isRunning, setApplicationContext, shouldRegisterManagement, 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 in class org.springframework.cloud.client.serviceregistry.AbstractAutoServiceRegistration<org.springframework.cloud.client.serviceregistry.Registration>protected NacosRegistration getManagementRegistration()
getManagementRegistration in class org.springframework.cloud.client.serviceregistry.AbstractAutoServiceRegistration<org.springframework.cloud.client.serviceregistry.Registration>protected void register()
register in class org.springframework.cloud.client.serviceregistry.AbstractAutoServiceRegistration<org.springframework.cloud.client.serviceregistry.Registration>protected void registerManagement()
registerManagement in class org.springframework.cloud.client.serviceregistry.AbstractAutoServiceRegistration<org.springframework.cloud.client.serviceregistry.Registration>protected Object getConfiguration()
getConfiguration in class org.springframework.cloud.client.serviceregistry.AbstractAutoServiceRegistration<org.springframework.cloud.client.serviceregistry.Registration>protected boolean isEnabled()
isEnabled in class org.springframework.cloud.client.serviceregistry.AbstractAutoServiceRegistration<org.springframework.cloud.client.serviceregistry.Registration>protected String getAppName()
getAppName in class org.springframework.cloud.client.serviceregistry.AbstractAutoServiceRegistration<org.springframework.cloud.client.serviceregistry.Registration>Copyright © 2019 Pivotal Software, Inc.. All rights reserved.