@SPI(value="javassist") public interface ProxyFactory
| Modifier and Type | Method and Description |
|---|---|
<T> Invoker<T> |
getInvoker(T proxy,
Class<T> type,
URL url)
create invoker.
|
<T> T |
getProxy(Invoker<T> invoker)
create proxy.
|
<T> T |
getProxy(Invoker<T> invoker,
boolean generic)
create proxy.
|
@Adaptive(value="proxy") <T> T getProxy(Invoker<T> invoker) throws RpcException
invoker - RpcException@Adaptive(value="proxy") <T> T getProxy(Invoker<T> invoker, boolean generic) throws RpcException
invoker - RpcException@Adaptive(value="proxy") <T> Invoker<T> getInvoker(T proxy, Class<T> type, URL url) throws RpcException
T - proxy - type - url - RpcExceptionCopyright © 2011–2020 The Apache Software Foundation. All rights reserved.