public class InjvmProtocol extends AbstractProtocol implements Protocol
| 限定符和类型 | 字段和说明 |
|---|---|
static int |
DEFAULT_PORT |
static String |
NAME |
| 构造器和说明 |
|---|
InjvmProtocol() |
| 限定符和类型 | 方法和说明 |
|---|---|
<T> Exporter<T> |
export(Invoker<T> invoker) |
int |
getDefaultPort() |
static InjvmProtocol |
getInjvmProtocol() |
boolean |
isInjvmRefer(com.alibaba.dubbo.common.URL url) |
<T> Invoker<T> |
refer(Class<T> serviceType,
com.alibaba.dubbo.common.URL url) |
destroypublic static final int DEFAULT_PORT
public static InjvmProtocol getInjvmProtocol()
public int getDefaultPort()
getDefaultPort 在接口中 Protocolpublic <T> Exporter<T> export(Invoker<T> invoker) throws RpcException
export 在接口中 ProtocolRpcExceptionpublic <T> Invoker<T> refer(Class<T> serviceType, com.alibaba.dubbo.common.URL url) throws RpcException
refer 在接口中 ProtocolRpcExceptionpublic boolean isInjvmRefer(com.alibaba.dubbo.common.URL url)
Copyright © 2011–2018 The Apache Software Foundation. All rights reserved.