|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.alibaba.dubbo.rpc.support.MockInvoker<T>
public final class MockInvoker<T>
| Constructor Summary | |
|---|---|
MockInvoker(URL url)
|
|
| Method Summary | |
|---|---|
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)
|
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public MockInvoker(URL url)
| Method Detail |
|---|
public Result invoke(Invocation invocation)
throws RpcException
Invoker
invoke in interface Invoker<T>RpcException
public static Object parseMockValue(String mock)
throws Exception
Exception
public static Object parseMockValue(String mock,
Type[] returnTypes)
throws Exception
Exceptionpublic URL getUrl()
Node
getUrl in interface Nodepublic boolean isAvailable()
Node
isAvailable in interface Nodepublic void destroy()
Node
destroy in interface Nodepublic Class<T> getInterface()
Invoker
getInterface in interface Invoker<T>
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||