@SPI(scope=MODULE) public interface RegistryProtocolListener
| 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,
URL registryURL)
Notify RegistryProtocol's listeners when a service is subscribed
|
void onExport(RegistryProtocol registryProtocol, org.apache.dubbo.rpc.Exporter<?> exporter)
registryProtocol - RegistryProtocol instanceexporter - exporterRegistryProtocol.export(org.apache.dubbo.rpc.Invoker)void onRefer(RegistryProtocol registryProtocol, ClusterInvoker<?> invoker, URL url, URL registryURL)
registryProtocol - RegistryProtocol instanceinvoker - invokerurl - RegistryProtocol.refer(Class, URL)void onDestroy()
Copyright © 2011–2022 The Apache Software Foundation. All rights reserved.