com.alibaba.dubbo.rpc.proxy
Class AbstractProxyFactory

java.lang.Object
  extended by com.alibaba.dubbo.rpc.proxy.AbstractProxyFactory
All Implemented Interfaces:
ProxyFactory
Direct Known Subclasses:
JavassistProxyFactory, JdkProxyFactory

public abstract class AbstractProxyFactory
extends Object
implements ProxyFactory

AbstractProxyFactory

Author:
william.liangf

Constructor Summary
AbstractProxyFactory()
           
 
Method Summary
<T> T
getProxy(Invoker<T> invoker)
          create proxy.
abstract
<T> T
getProxy(Invoker<T> invoker, Class<?>[] types)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.alibaba.dubbo.rpc.ProxyFactory
getInvoker
 

Constructor Detail

AbstractProxyFactory

public AbstractProxyFactory()
Method Detail

getProxy

public <T> T getProxy(Invoker<T> invoker)
           throws RpcException
Description copied from interface: ProxyFactory
create proxy.

Specified by:
getProxy in interface ProxyFactory
Returns:
proxy
Throws:
RpcException

getProxy

public abstract <T> T getProxy(Invoker<T> invoker,
                               Class<?>[] types)


Copyright © 2012–2017 Alibaba. All rights reserved.