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 Details

    • ServiceCombAutoServiceRegistration

      public ServiceCombAutoServiceRegistration(ServiceCombServiceRegistry registry, org.springframework.cloud.client.serviceregistry.AutoServiceRegistrationProperties autoServiceRegistrationProperties, ServiceCombRegistration registration)
  • Method Details

    • start

      public void start()
      Overrides:
      start in class org.springframework.cloud.client.serviceregistry.AbstractAutoServiceRegistration<ServiceCombRegistration>
    • register

      protected void register()
      Overrides:
      register in class org.springframework.cloud.client.serviceregistry.AbstractAutoServiceRegistration<ServiceCombRegistration>
    • getConfiguration

      @Deprecated protected Object getConfiguration()
      Deprecated.
      Specified by:
      getConfiguration in class org.springframework.cloud.client.serviceregistry.AbstractAutoServiceRegistration<ServiceCombRegistration>
    • isEnabled

      protected boolean isEnabled()
      Specified by:
      isEnabled in class org.springframework.cloud.client.serviceregistry.AbstractAutoServiceRegistration<ServiceCombRegistration>
    • getRegistration

      protected ServiceCombRegistration getRegistration()
      Specified by:
      getRegistration in class org.springframework.cloud.client.serviceregistry.AbstractAutoServiceRegistration<ServiceCombRegistration>
    • getManagementRegistration

      protected ServiceCombRegistration getManagementRegistration()
      Specified by:
      getManagementRegistration in class org.springframework.cloud.client.serviceregistry.AbstractAutoServiceRegistration<ServiceCombRegistration>