com.alibaba.dubbo.rpc
Interface Invoker<T>

All Superinterfaces:
Node
All Known Implementing Classes:
AbstractClusterInvoker, AbstractInvoker, AbstractProxyInvoker, AvailableClusterInvoker, BroadcastClusterInvoker, DelegateInvoker, DubboInvoker, FailbackClusterInvoker, FailfastClusterInvoker, FailoverClusterInvoker, FailsafeClusterInvoker, ForkingClusterInvoker, InvokerWrapper, ListenerInvokerWrapper, MergeableClusterInvoker, MockClusterInvoker, MockInvoker, RegistryProtocol.InvokerDelegete, ThriftInvoker

public interface Invoker<T>
extends Node

Invoker. (API/SPI, Prototype, ThreadSafe)

Author:
william.liangf
See Also:
Protocol.refer(Class, com.alibaba.dubbo.common.URL), InvokerListener, AbstractInvoker

Method Summary
 Class<T> getInterface()
          get service interface.
 Result invoke(Invocation invocation)
          invoke.
 
Methods inherited from interface com.alibaba.dubbo.common.Node
destroy, getUrl, isAvailable
 

Method Detail

getInterface

Class<T> getInterface()
get service interface.

Returns:
service interface.

invoke

Result invoke(Invocation invocation)
              throws RpcException
invoke.

Parameters:
invocation -
Returns:
result
Throws:
RpcException


Copyright © 2012–2017 Alibaba. All rights reserved.