public class ConsulAutoServiceRegistration extends org.springframework.cloud.client.serviceregistry.AbstractAutoServiceRegistration<ConsulRegistration>
| Constructor and Description |
|---|
ConsulAutoServiceRegistration(ConsulServiceRegistry serviceRegistry,
org.springframework.cloud.client.serviceregistry.AutoServiceRegistrationProperties autoServiceRegistrationProperties,
ConsulDiscoveryProperties properties,
ConsulAutoRegistration registration) |
| Modifier and Type | Method and Description |
|---|---|
void |
bind(org.springframework.boot.web.context.WebServerInitializedEvent event) |
protected void |
deregister() |
protected void |
deregisterManagement() |
protected String |
getAppName() |
protected Object |
getConfiguration() |
protected ConsulAutoRegistration |
getManagementRegistration() |
protected ConsulAutoRegistration |
getRegistration() |
protected boolean |
isEnabled() |
protected void |
register() |
protected void |
registerManagement() |
void |
start() |
destroy, getContext, getEnvironment, getManagementPort, getManagementServiceId, getManagementServiceName, getOrder, getPhase, getPort, getRunning, getServiceRegistry, isAutoStartup, isRunning, onApplicationEvent, setApplicationContext, shouldRegisterManagement, stoppublic ConsulAutoServiceRegistration(ConsulServiceRegistry serviceRegistry, org.springframework.cloud.client.serviceregistry.AutoServiceRegistrationProperties autoServiceRegistrationProperties, ConsulDiscoveryProperties properties, ConsulAutoRegistration registration)
protected ConsulAutoRegistration getRegistration()
getRegistration in class org.springframework.cloud.client.serviceregistry.AbstractAutoServiceRegistration<ConsulRegistration>protected ConsulAutoRegistration getManagementRegistration()
getManagementRegistration in class org.springframework.cloud.client.serviceregistry.AbstractAutoServiceRegistration<ConsulRegistration>@Retryable(interceptor="consulRetryInterceptor") public void start()
start in class org.springframework.cloud.client.serviceregistry.AbstractAutoServiceRegistration<ConsulRegistration>protected void register()
register in class org.springframework.cloud.client.serviceregistry.AbstractAutoServiceRegistration<ConsulRegistration>protected void registerManagement()
registerManagement in class org.springframework.cloud.client.serviceregistry.AbstractAutoServiceRegistration<ConsulRegistration>protected Object getConfiguration()
getConfiguration in class org.springframework.cloud.client.serviceregistry.AbstractAutoServiceRegistration<ConsulRegistration>protected void deregister()
deregister in class org.springframework.cloud.client.serviceregistry.AbstractAutoServiceRegistration<ConsulRegistration>protected void deregisterManagement()
deregisterManagement in class org.springframework.cloud.client.serviceregistry.AbstractAutoServiceRegistration<ConsulRegistration>protected boolean isEnabled()
isEnabled in class org.springframework.cloud.client.serviceregistry.AbstractAutoServiceRegistration<ConsulRegistration>protected String getAppName()
getAppName in class org.springframework.cloud.client.serviceregistry.AbstractAutoServiceRegistration<ConsulRegistration>public void bind(org.springframework.boot.web.context.WebServerInitializedEvent event)
bind in class org.springframework.cloud.client.serviceregistry.AbstractAutoServiceRegistration<ConsulRegistration>Copyright © 2020 Pivotal Software, Inc.. All rights reserved.