@SPI 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,
org.apache.dubbo.rpc.Invoker<?> invoker)
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, org.apache.dubbo.rpc.Invoker<?> invoker)
registryProtocol - RegistryProtocol instanceinvoker - invokerRegistryProtocol.refer(Class, URL)void onDestroy()
Copyright © 2011–2020 The Apache Software Foundation. All rights reserved.