类 Proxy
- java.lang.Object
-
- com.alibaba.dubbo.common.bytecode.Proxy
-
public abstract class Proxy extends Object
Proxy.
-
-
字段概要
字段 修饰符和类型 字段 说明 static InvocationHandler
RETURN_NULL_INVOKER
static InvocationHandler
THROW_UNSUPPORTED_INVOKER
-
方法概要
所有方法 静态方法 实例方法 抽象方法 具体方法 修饰符和类型 方法 说明 static Proxy
getProxy(Class<?>... ics)
Get proxy.static Proxy
getProxy(ClassLoader cl, Class<?>... ics)
Get proxy.Object
newInstance()
get instance with default handler.abstract Object
newInstance(InvocationHandler handler)
get instance with special handler.
-
-
-
字段详细资料
-
RETURN_NULL_INVOKER
public static final InvocationHandler RETURN_NULL_INVOKER
-
THROW_UNSUPPORTED_INVOKER
public static final InvocationHandler THROW_UNSUPPORTED_INVOKER
-
-
方法详细资料
-
getProxy
public static Proxy getProxy(Class<?>... ics)
Get proxy.- 参数:
ics
- interface class array.- 返回:
- Proxy instance.
-
getProxy
public static Proxy getProxy(ClassLoader cl, Class<?>... ics)
Get proxy.- 参数:
cl
- class loader.ics
- interface class array.- 返回:
- Proxy instance.
-
newInstance
public Object newInstance()
get instance with default handler.- 返回:
- instance.
-
newInstance
public abstract Object newInstance(InvocationHandler handler)
get instance with special handler.- 返回:
- instance.
-
-