|
||||||||||
| PREV CLASS (src) NEXT CLASS (src) | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jboss.proxy.compiler.Proxy
A factory for creating proxy objects.
| Constructor Summary | |
Proxy()
|
|
| Method Summary | |
static void |
forgetProxyForClass(java.lang.Class clazz)
|
static java.lang.Object |
newProxyInstance(java.lang.ClassLoader loader,
java.lang.Class[] interfaces,
InvocationHandler (src) h)
Create a new proxy instance. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public Proxy()
| Method Detail |
public static java.lang.Object newProxyInstance(java.lang.ClassLoader loader,
java.lang.Class[] interfaces,
InvocationHandler (src) h)
Proxy instances will also implement Serializable.
Delegates the actual creation of the proxy to
Proxies.newTarget(java.lang.ClassLoader, org.jboss.proxy.compiler.InvocationHandler, java.lang.Class[]).
loader - The class loader for the new proxy instance.interfaces - A list of classes which the proxy will implement.h - The handler for method invocations.
java.lang.RuntimeException - Failed to create new proxy target.public static void forgetProxyForClass(java.lang.Class clazz)
|
||||||||||
| PREV CLASS (src) NEXT CLASS (src) | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||