|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.jboss.proxy.compiler.ProxyCompiler
Manages bytecode assembly for dynamic proxy generation.
Field Summary | |
static String |
CLASS_DUMP_PATH
The path (if non-null) where generated classes will be dumped for debugging. |
static String |
IMPL_SUFFIX
The suffix for proxy implementation classnames. |
Constructor Summary | |
ProxyCompiler(ClassLoader parent,
Class superclass,
Class[] targetTypes,
Method[] methods)
Creates a new ProxyCompiler instance. |
Method Summary | |
byte[] |
getCode()
Create the implementation class for the given target. |
String |
getProxyClassName()
|
Class |
getProxyType()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final String CLASS_DUMP_PATH
public static final String IMPL_SUFFIX
Constructor Detail |
public ProxyCompiler(ClassLoader parent, Class superclass, Class[] targetTypes, Method[] methods) throws Exception
ProxyCompiler
instance.
parent
- a ClassLoader
valuesuperclass
- a Class
valuetargetTypes
- a Class
valuemethods
- a Method
valueMethod Detail |
public Class getProxyType()
public String getProxyClassName()
public byte[] getCode()
byte[]
value
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |