| Constructor and Description |
|---|
MockInvoker(URL url) |
| Modifier and Type | Method and Description |
|---|---|
void |
destroy() |
Class<T> |
getInterface()
get service interface.
|
URL |
getUrl() |
Result |
invoke(Invocation invocation)
invoke.
|
boolean |
isAvailable() |
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()
isAvailable in interface NodeCopyright © 2011–2018 The Apache Software Foundation. All rights reserved.