Class ServiceCombAutoServiceRegistration
java.lang.Object
org.springframework.cloud.client.serviceregistry.AbstractAutoServiceRegistration<ServiceCombRegistration>
com.huaweicloud.servicecomb.discovery.registry.ServiceCombAutoServiceRegistration
- All Implemented Interfaces:
EventListener,org.springframework.beans.factory.Aware,org.springframework.cloud.client.serviceregistry.AutoServiceRegistration,org.springframework.context.ApplicationContextAware,org.springframework.context.ApplicationListener<org.springframework.boot.web.context.WebServerInitializedEvent>
public class ServiceCombAutoServiceRegistration
extends org.springframework.cloud.client.serviceregistry.AbstractAutoServiceRegistration<ServiceCombRegistration>
-
Constructor Summary
ConstructorsConstructorDescriptionServiceCombAutoServiceRegistration(ServiceCombServiceRegistry registry, org.springframework.cloud.client.serviceregistry.AutoServiceRegistrationProperties autoServiceRegistrationProperties, ServiceCombRegistration registration) -
Method Summary
Modifier and TypeMethodDescriptionprotected ObjectDeprecated.protected ServiceCombRegistrationprotected ServiceCombRegistrationprotected booleanprotected voidregister()voidstart()Methods inherited from class org.springframework.cloud.client.serviceregistry.AbstractAutoServiceRegistration
addRegistrationLifecycle, addRegistrationManagementLifecycle, deregister, deregisterManagement, destroy, getAppName, getContext, getEnvironment, getManagementPort, getManagementServiceId, getManagementServiceName, getOrder, getPhase, getPort, getRunning, getServiceRegistry, isAutoStartup, isRunning, onApplicationEvent, registerManagement, setApplicationContext, shouldRegisterManagement, stopMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.springframework.context.ApplicationListener
supportsAsyncExecution
-
Constructor Details
-
ServiceCombAutoServiceRegistration
public ServiceCombAutoServiceRegistration(ServiceCombServiceRegistry registry, org.springframework.cloud.client.serviceregistry.AutoServiceRegistrationProperties autoServiceRegistrationProperties, ServiceCombRegistration registration)
-
-
Method Details
-
start
public void start()- Overrides:
startin classorg.springframework.cloud.client.serviceregistry.AbstractAutoServiceRegistration<ServiceCombRegistration>
-
register
protected void register()- Overrides:
registerin classorg.springframework.cloud.client.serviceregistry.AbstractAutoServiceRegistration<ServiceCombRegistration>
-
getConfiguration
Deprecated.- Specified by:
getConfigurationin classorg.springframework.cloud.client.serviceregistry.AbstractAutoServiceRegistration<ServiceCombRegistration>
-
isEnabled
protected boolean isEnabled()- Specified by:
isEnabledin classorg.springframework.cloud.client.serviceregistry.AbstractAutoServiceRegistration<ServiceCombRegistration>
-
getRegistration
- Specified by:
getRegistrationin classorg.springframework.cloud.client.serviceregistry.AbstractAutoServiceRegistration<ServiceCombRegistration>
-
getManagementRegistration
- Specified by:
getManagementRegistrationin classorg.springframework.cloud.client.serviceregistry.AbstractAutoServiceRegistration<ServiceCombRegistration>
-