类 StubProxyFactory
- java.lang.Object
-
- org.apache.dubbo.rpc.stub.StubProxyFactory
-
- 所有已实现的接口:
ProxyFactory
public class StubProxyFactory extends Object implements ProxyFactory
Stub proxy factory is used to generate non-reflection invoker and proxy. It relies on Dubbo3 Triple compiler.
-
-
方法详细资料
-
getProxy
public <T> T getProxy(Invoker<T> invoker) throws RpcException
从接口复制的说明:ProxyFactorycreate proxy.- 指定者:
getProxy在接口中ProxyFactory- 返回:
- proxy
- 抛出:
RpcException
-
getProxy
public <T> T getProxy(Invoker<T> invoker, boolean generic) throws RpcException
从接口复制的说明:ProxyFactorycreate proxy.- 指定者:
getProxy在接口中ProxyFactory- 返回:
- proxy
- 抛出:
RpcException
-
getInvoker
public <T> Invoker<T> getInvoker(T proxy, Class<T> type, URL url) throws RpcException
从接口复制的说明:ProxyFactorycreate invoker.- 指定者:
getInvoker在接口中ProxyFactory- 返回:
- invoker
- 抛出:
RpcException
-
-