类 NacosAutoServiceRegistration

java.lang.Object
org.springframework.cloud.client.serviceregistry.AbstractAutoServiceRegistration<org.springframework.cloud.client.serviceregistry.Registration>
com.alibaba.cloud.nacos.registry.NacosAutoServiceRegistration
所有已实现的接口:
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 NacosAutoServiceRegistration extends org.springframework.cloud.client.serviceregistry.AbstractAutoServiceRegistration<org.springframework.cloud.client.serviceregistry.Registration>
作者:
xiaojing, Mercy
  • 构造器详细资料

    • NacosAutoServiceRegistration

      public NacosAutoServiceRegistration(org.springframework.cloud.client.serviceregistry.ServiceRegistry<org.springframework.cloud.client.serviceregistry.Registration> serviceRegistry, org.springframework.cloud.client.serviceregistry.AutoServiceRegistrationProperties autoServiceRegistrationProperties, NacosRegistration registration)
  • 方法详细资料

    • setPort

      @Deprecated public void setPort(int port)
      已过时。
    • getRegistration

      protected NacosRegistration getRegistration()
      指定者:
      getRegistration 在类中 org.springframework.cloud.client.serviceregistry.AbstractAutoServiceRegistration<org.springframework.cloud.client.serviceregistry.Registration>
    • getManagementRegistration

      protected NacosRegistration getManagementRegistration()
      指定者:
      getManagementRegistration 在类中 org.springframework.cloud.client.serviceregistry.AbstractAutoServiceRegistration<org.springframework.cloud.client.serviceregistry.Registration>
    • register

      protected void register()
      覆盖:
      register 在类中 org.springframework.cloud.client.serviceregistry.AbstractAutoServiceRegistration<org.springframework.cloud.client.serviceregistry.Registration>
    • registerManagement

      protected void registerManagement()
      覆盖:
      registerManagement 在类中 org.springframework.cloud.client.serviceregistry.AbstractAutoServiceRegistration<org.springframework.cloud.client.serviceregistry.Registration>
    • getConfiguration

      protected Object getConfiguration()
      指定者:
      getConfiguration 在类中 org.springframework.cloud.client.serviceregistry.AbstractAutoServiceRegistration<org.springframework.cloud.client.serviceregistry.Registration>
    • isEnabled

      protected boolean isEnabled()
      指定者:
      isEnabled 在类中 org.springframework.cloud.client.serviceregistry.AbstractAutoServiceRegistration<org.springframework.cloud.client.serviceregistry.Registration>
    • getAppName

      protected String getAppName()
      覆盖:
      getAppName 在类中 org.springframework.cloud.client.serviceregistry.AbstractAutoServiceRegistration<org.springframework.cloud.client.serviceregistry.Registration>
    • onNacosDiscoveryInfoChangedEvent

      @EventListener public void onNacosDiscoveryInfoChangedEvent(NacosDiscoveryInfoChangedEvent event)