@Extension(value="registry") @Singleton public class RegistryProtocol extends Object implements Protocol
| 限定符和类型 | 类和说明 |
|---|---|
static class |
RegistryProtocol.InvokerDelegete<T> |
| 构造器和说明 |
|---|
RegistryProtocol() |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
destroy() |
<T> com.alibaba.dubbo.rpc.Exporter<T> |
export(com.alibaba.dubbo.rpc.Invoker<T> originInvoker) |
int |
getDefaultPort() |
Map<com.alibaba.dubbo.common.URL,NotifyListener> |
getOverrideListeners() |
static RegistryProtocol |
getRegistryProtocol() |
<T> com.alibaba.dubbo.rpc.Invoker<T> |
refer(Class<T> type,
com.alibaba.dubbo.common.URL url) |
public int getDefaultPort()
getDefaultPort 在接口中 Protocolpublic static RegistryProtocol getRegistryProtocol()
public Map<com.alibaba.dubbo.common.URL,NotifyListener> getOverrideListeners()
public <T> com.alibaba.dubbo.rpc.Exporter<T> export(com.alibaba.dubbo.rpc.Invoker<T> originInvoker)
throws JahhanException
export 在接口中 ProtocolJahhanExceptionpublic <T> com.alibaba.dubbo.rpc.Invoker<T> refer(Class<T> type, com.alibaba.dubbo.common.URL url) throws JahhanException
refer 在接口中 ProtocolJahhanExceptionCopyright © 2018. All rights reserved.