类 ClusterNacosNodeHandler
java.lang.Object
cn.aradin.cluster.nacos.starter.handler.ClusterNacosNodeHandler
- 所有已实现的接口:
com.alibaba.nacos.api.naming.listener.EventListener,EventListener,org.springframework.context.ApplicationListener<org.springframework.context.event.ContextClosedEvent>
public class ClusterNacosNodeHandler
extends Object
implements com.alibaba.nacos.api.naming.listener.EventListener, org.springframework.context.ApplicationListener<org.springframework.context.event.ContextClosedEvent>
-
构造器概要
构造器构造器说明ClusterNacosNodeHandler(ClusterNacosProperties clusterNacosProperties, ClusterProperties clusterProperties, Integer port, String serviceName, IClusterNodeManager clusterNodeManager) -
方法概要
修饰符和类型方法说明voidonApplicationEvent(org.springframework.context.event.ContextClosedEvent event) voidonEvent(com.alibaba.nacos.api.naming.listener.Event event)
-
构造器详细资料
-
ClusterNacosNodeHandler
public ClusterNacosNodeHandler(ClusterNacosProperties clusterNacosProperties, ClusterProperties clusterProperties, Integer port, String serviceName, IClusterNodeManager clusterNodeManager)
-
-
方法详细资料
-
onEvent
public void onEvent(com.alibaba.nacos.api.naming.listener.Event event) - 指定者:
onEvent在接口中com.alibaba.nacos.api.naming.listener.EventListener
-
onApplicationEvent
public void onApplicationEvent(org.springframework.context.event.ContextClosedEvent event) - 指定者:
onApplicationEvent在接口中org.springframework.context.ApplicationListener<org.springframework.context.event.ContextClosedEvent>
-