| 构造器和说明 |
|---|
ProviderInvokerWrapper(Invoker<T> invoker,
URL registryUrl,
URL providerUrl) |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
destroy()
destroy.
|
Class<T> |
getInterface()
get service interface.
|
Invoker<T> |
getInvoker() |
URL |
getOriginUrl() |
URL |
getProviderUrl() |
URL |
getRegistryUrl() |
URL |
getUrl()
get url.
|
Result |
invoke(Invocation invocation)
invoke.
|
boolean |
isAvailable()
is available.
|
boolean |
isReg() |
void |
setReg(boolean reg) |
public Class<T> getInterface()
InvokergetInterface 在接口中 Invokerpublic boolean isAvailable()
NodeisAvailable 在接口中 Nodepublic Result invoke(Invocation invocation) throws RpcException
Invokerinvoke 在接口中 InvokerRpcExceptionpublic URL getOriginUrl()
public URL getRegistryUrl()
public URL getProviderUrl()
public boolean isReg()
public void setReg(boolean reg)
Copyright © 2011–2018 The Apache Software Foundation. All rights reserved.