当前页面:
在线文档首页 >
JBoss 4.0.1 sp1 server API Documentation 英文版文档
Proxy (JBoss Server API) - JBoss 4.0.1 sp1 server API Documentation 英文版文档
org.jboss.proxy.compiler
Class Proxy
java.lang.Object
org.jboss.proxy.compiler.Proxy
- public class Proxy
- extends Object
A factory for creating proxy objects.
- Version:
- $Revision: 1.3 $
- Author:
- Unknown, Jason Dillon
Constructor Summary |
Proxy()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Proxy
public Proxy()
newProxyInstance
public static Object newProxyInstance(ClassLoader loader,
Class[] interfaces,
InvocationHandler h)
- Create a new proxy instance.
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[])
.
- Parameters:
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.
- Returns:
- A new proxy instance.
- Throws:
RuntimeException
- Failed to create new proxy target.
forgetProxyForClass
public static void forgetProxyForClass(Class clazz)
Copyright © 2002 JBoss Group, LLC. All Rights Reserved.