| Constructor and Description |
|---|
MockInvoker(URL url) |
| Modifier and Type | Method and Description |
|---|---|
void |
destroy()
destroy.
|
Class<T> |
getInterface()
get service interface.
|
URL |
getUrl()
get url.
|
Result |
invoke(Invocation invocation)
invoke.
|
boolean |
isAvailable()
is available.
|
static Object |
parseMockValue(String mock) |
static Object |
parseMockValue(String mock,
Type[] returnTypes) |
public MockInvoker(URL url)
public static Object parseMockValue(String mock, Type[] returnTypes) throws Exception
Exceptionpublic Result invoke(Invocation invocation) throws RpcException
Invokerinvoke in interface Invoker<T>RpcExceptionpublic boolean isAvailable()
NodeisAvailable in interface Nodepublic void destroy()
NodeCopyright © 2011–2018 The Apache Software Foundation. All rights reserved.