| Constructor and Description |
|---|
ProviderInvokerWrapper(Invoker<T> invoker,
URL registryUrl,
URL providerUrl) |
| Modifier and Type | Method and Description |
|---|---|
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 in interface Invokerpublic boolean isAvailable()
NodeisAvailable in interface Nodepublic Result invoke(Invocation invocation) throws RpcException
Invokerinvoke in interface InvokerRpcExceptionpublic void destroy()
Nodepublic 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.