类 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(org.springframework.scheduling.TaskScheduler taskScheduler, org.springframework.cloud.client.discovery.DiscoveryClient discoveryClient, org.springframework.context.ApplicationEventPublisher applicationEventPublisher, ServiceMonitorProperties serviceMonitorProperties) -
方法概要
修饰符和类型方法说明voidvoiddestroy()org.springframework.context.ApplicationEventPublisherorg.springframework.cloud.client.discovery.DiscoveryClient
-
构造器详细资料
-
ServiceExistControl
public ServiceExistControl(org.springframework.scheduling.TaskScheduler taskScheduler, org.springframework.cloud.client.discovery.DiscoveryClient discoveryClient, org.springframework.context.ApplicationEventPublisher applicationEventPublisher, ServiceMonitorProperties serviceMonitorProperties)
-
-
方法详细资料
-
destroy
- 指定者:
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
-