@Activate public class MigrationRuleListener extends Object implements RegistryProtocolListener, ConfigurationListener
| Constructor and Description |
|---|
MigrationRuleListener() |
| Modifier and Type | Method and Description |
|---|---|
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 in interface ConfigurationListenerpublic void onExport(RegistryProtocol registryProtocol, org.apache.dubbo.rpc.Exporter<?> exporter)
RegistryProtocolListeneronExport in interface RegistryProtocolListenerregistryProtocol - RegistryProtocol instanceexporter - exporterRegistryProtocol.export(org.apache.dubbo.rpc.Invoker)public void onRefer(RegistryProtocol registryProtocol, ClusterInvoker<?> invoker, URL url)
RegistryProtocolListeneronRefer in interface RegistryProtocolListenerregistryProtocol - RegistryProtocol instanceinvoker - invokerRegistryProtocol.refer(Class, URL)public void onDestroy()
RegistryProtocolListeneronDestroy in interface RegistryProtocolListenerCopyright © 2011–2022 The Apache Software Foundation. All rights reserved.