public class InjvmProtocol extends AbstractProtocol implements Protocol
| Modifier and Type | Field and Description |
|---|---|
static int |
DEFAULT_PORT |
static String |
NAME |
| Constructor and Description |
|---|
InjvmProtocol() |
| Modifier and Type | Method and Description |
|---|---|
<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 String NAME
public static final int DEFAULT_PORT
public static InjvmProtocol getInjvmProtocol()
public int getDefaultPort()
getDefaultPort in interface Protocolpublic <T> Exporter<T> export(Invoker<T> invoker) throws RpcException
export in interface ProtocolRpcExceptionpublic <T> Invoker<T> refer(Class<T> serviceType, com.alibaba.dubbo.common.URL url) throws RpcException
refer in interface ProtocolRpcExceptionpublic boolean isInjvmRefer(com.alibaba.dubbo.common.URL url)
Copyright © 2011–2020 The Apache Software Foundation. All rights reserved.