类 InvokerWrapper<T>
- java.lang.Object
-
- com.alibaba.dubbo.rpc.protocol.InvokerWrapper<T>
-
- 直接已知子类:
RegistryProtocol.InvokerDelegete
public class InvokerWrapper<T> extends Object implements Invoker<T>
InvokerWrapper
-
-
构造器概要
构造器 构造器 说明 InvokerWrapper(Invoker<T> invoker, URL url)
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 voiddestroy()destroy.Class<T>getInterface()get service interface.URLgetUrl()get url.Resultinvoke(Invocation invocation)invoke.booleanisAvailable()is available.
-
-
-
方法详细资料
-
getInterface
public Class<T> getInterface()
从接口复制的说明:Invokerget service interface.- 指定者:
getInterface在接口中Invoker<T>- 返回:
- service interface.
-
isAvailable
public boolean isAvailable()
从接口复制的说明:Nodeis available.- 指定者:
isAvailable在接口中Node- 返回:
- available.
-
invoke
public Result invoke(Invocation invocation) throws RpcException
从接口复制的说明:Invokerinvoke.- 指定者:
invoke在接口中Invoker<T>- 返回:
- result
- 抛出:
RpcException
-
-