类 ServiceExistControl

java.lang.Object
top.codef.microservice.control.ServiceExistControl
所有已实现的接口:
org.springframework.beans.factory.DisposableBean, org.springframework.beans.factory.SmartInitializingSingleton

public class ServiceExistControl extends Object implements org.springframework.beans.factory.SmartInitializingSingleton, org.springframework.beans.factory.DisposableBean
  • 构造器详细资料

    • ServiceExistControl

      public ServiceExistControl(org.springframework.scheduling.TaskScheduler taskScheduler, org.springframework.cloud.client.discovery.DiscoveryClient discoveryClient, org.springframework.context.ApplicationEventPublisher applicationEventPublisher, ServiceMonitorProperties serviceMonitorProperties)
  • 方法详细资料

    • destroy

      public void destroy() throws Exception
      指定者:
      destroy 在接口中 org.springframework.beans.factory.DisposableBean
      抛出:
      Exception
    • afterSingletonsInstantiated

      public void afterSingletonsInstantiated()
      指定者:
      afterSingletonsInstantiated 在接口中 org.springframework.beans.factory.SmartInitializingSingleton
    • getDiscoveryClient

      public org.springframework.cloud.client.discovery.DiscoveryClient getDiscoveryClient()
    • getApplicationEventPublisher

      public org.springframework.context.ApplicationEventPublisher getApplicationEventPublisher()
    • getServiceMonitorProperties

      public ServiceMonitorProperties getServiceMonitorProperties()