接口 ProxyFactory

    • 方法详细资料

      • getProxy

        @Adaptive("proxy")
        <T> T getProxy​(Invoker<T> invoker)
                throws RpcException
        create proxy.
        参数:
        invoker -
        返回:
        proxy
        抛出:
        RpcException
      • getProxy

        @Adaptive("proxy")
        <T> T getProxy​(Invoker<T> invoker,
                       boolean generic)
                throws RpcException
        create proxy.
        参数:
        invoker -
        返回:
        proxy
        抛出:
        RpcException
      • getInvoker

        @Adaptive("proxy")
        <T> Invoker<T> getInvoker​(T proxy,
                                  Class<T> type,
                                  com.alibaba.dubbo.common.URL url)
                           throws RpcException
        create invoker.
        类型参数:
        T -
        参数:
        proxy -
        type -
        url -
        返回:
        invoker
        抛出:
        RpcException