com.alibaba.dubbo.rpc.proxy.jdk
Class JdkProxyFactory

java.lang.Object
  extended by com.alibaba.dubbo.rpc.proxy.AbstractProxyFactory
      extended by com.alibaba.dubbo.rpc.proxy.jdk.JdkProxyFactory
All Implemented Interfaces:
ProxyFactory

public class JdkProxyFactory
extends AbstractProxyFactory

JavaassistRpcProxyFactory

Author:
william.liangf

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

Constructor Detail

JdkProxyFactory

public JdkProxyFactory()
Method Detail

getProxy

public <T> T getProxy(Invoker<T> invoker,
                      Class<?>[] interfaces)
Specified by:
getProxy in class AbstractProxyFactory

getInvoker

public <T> Invoker<T> getInvoker(T proxy,
                                 Class<T> type,
                                 URL url)
Description copied from interface: ProxyFactory
create invoker.

Returns:
invoker


Copyright © 2012–2017 Alibaba. All rights reserved.