public class Proxy extends Object
| Modifier and Type | Field and Description |
|---|---|
static InvocationHandler |
THROW_UNSUPPORTED_INVOKER |
| Modifier and Type | Method and Description |
|---|---|
Class<?> |
getClassToCreate() |
static Proxy |
getProxy(Class<?>... ics)
Get proxy.
|
Object |
newInstance()
get instance with default handler.
|
Object |
newInstance(InvocationHandler handler)
get instance with special handler.
|
public static final InvocationHandler THROW_UNSUPPORTED_INVOKER
public static Proxy getProxy(Class<?>... ics)
ics - interface class array.public Object newInstance()
public Object newInstance(InvocationHandler handler)
public Class<?> getClassToCreate()
Copyright © 2011–2020 The Apache Software Foundation. All rights reserved.