public abstract class Proxy extends Object
| Modifier and Type | Field and Description |
|---|---|
static InvocationHandler |
RETURN_NULL_INVOKER |
static InvocationHandler |
THROW_UNSUPPORTED_INVOKER |
| Modifier and Type | Method and Description |
|---|---|
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.
|
public static final InvocationHandler RETURN_NULL_INVOKER
public static final InvocationHandler THROW_UNSUPPORTED_INVOKER
public static Proxy getProxy(Class<?>... ics)
ics - interface class array.public static Proxy getProxy(ClassLoader cl, Class<?>... ics)
cl - class loader.ics - interface class array.public Object newInstance()
public abstract Object newInstance(InvocationHandler handler)
Copyright © 2011–2018 The Apache Software Foundation. All rights reserved.