|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.alibaba.dubbo.rpc.protocol.AbstractInvoker<T>
public abstract class AbstractInvoker<T>
AbstractInvoker.
Constructor Summary | |
---|---|
AbstractInvoker(Class<T> type,
URL url)
|
|
AbstractInvoker(Class<T> type,
URL url,
Map<String,String> attachment)
|
|
AbstractInvoker(Class<T> type,
URL url,
String[] keys)
|
Method Summary | |
---|---|
void |
destroy()
destroy. |
Class<T> |
getInterface()
get service interface. |
URL |
getUrl()
get url. |
Result |
invoke(Invocation inv)
invoke. |
boolean |
isAvailable()
is available. |
boolean |
isDestroyed()
|
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public AbstractInvoker(Class<T> type, URL url)
public AbstractInvoker(Class<T> type, URL url, String[] keys)
public AbstractInvoker(Class<T> type, URL url, Map<String,String> attachment)
Method Detail |
---|
public Class<T> getInterface()
Invoker
getInterface
in interface Invoker<T>
public URL getUrl()
Node
getUrl
in interface Node
public boolean isAvailable()
Node
isAvailable
in interface Node
public void destroy()
Node
destroy
in interface Node
public boolean isDestroyed()
public String toString()
toString
in class Object
public Result invoke(Invocation inv) throws RpcException
Invoker
invoke
in interface Invoker<T>
RpcException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |