@Activate public class MigrationRuleListener extends Object implements RegistryProtocolListener, ConfigurationListener
| 构造器和说明 |
|---|
MigrationRuleListener() |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
onDestroy()
Notify RegistryProtocol's listeners when the protocol is destroyed
|
void |
onExport(RegistryProtocol registryProtocol,
org.apache.dubbo.rpc.Exporter<?> exporter)
Notify RegistryProtocol's listeners when a service is registered
|
void |
onRefer(RegistryProtocol registryProtocol,
ClusterInvoker<?> invoker,
URL url)
Notify RegistryProtocol's listeners when a service is subscribed
|
void |
process(ConfigChangedEvent event) |
public void process(ConfigChangedEvent event)
process 在接口中 ConfigurationListenerpublic void onExport(RegistryProtocol registryProtocol, org.apache.dubbo.rpc.Exporter<?> exporter)
RegistryProtocolListeneronExport 在接口中 RegistryProtocolListenerregistryProtocol - RegistryProtocol instanceexporter - exporterRegistryProtocol.export(org.apache.dubbo.rpc.Invoker)public void onRefer(RegistryProtocol registryProtocol, ClusterInvoker<?> invoker, URL url)
RegistryProtocolListeneronRefer 在接口中 RegistryProtocolListenerregistryProtocol - RegistryProtocol instanceinvoker - invokerRegistryProtocol.refer(Class, URL)public void onDestroy()
RegistryProtocolListeneronDestroy 在接口中 RegistryProtocolListenerCopyright © 2011–2021 The Apache Software Foundation. All rights reserved.