@SPI public interface RegistryProtocolListener
| 限定符和类型 | 方法和说明 |
|---|---|
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 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)
registryProtocol - RegistryProtocol instanceinvoker - invokerurl - RegistryProtocol.refer(Class, URL)void onDestroy()
Copyright © 2011–2021 The Apache Software Foundation. All rights reserved.