|
||||||||||
PREV CLASS (src) NEXT CLASS (src) | 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 java.lang.String |
CLASS_DUMP_PATH
The path (if non-null) where generated classes will be dumped for debugging. |
static java.lang.String |
IMPL_SUFFIX
The suffix for proxy implementation classnames. |
Constructor Summary | |
ProxyCompiler(java.lang.ClassLoader parent,
java.lang.Class superclass,
java.lang.Class[] targetTypes,
java.lang.reflect.Method[] methods)
Creates a new ProxyCompiler instance. |
Method Summary | |
byte[] |
getCode()
Create the implementation class for the given target. |
java.lang.String |
getProxyClassName()
|
java.lang.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 java.lang.String CLASS_DUMP_PATH
public static final java.lang.String IMPL_SUFFIX
Constructor Detail |
public ProxyCompiler(java.lang.ClassLoader parent, java.lang.Class superclass, java.lang.Class[] targetTypes, java.lang.reflect.Method[] methods) throws java.lang.Exception
ProxyCompiler
instance.
parent
- a ClassLoader
valuesuperclass
- a Class
valuetargetTypes
- a Class
valuemethods
- a Method
valueMethod Detail |
public java.lang.Class getProxyType()
public java.lang.String getProxyClassName()
public byte[] getCode()
byte[]
value
|
||||||||||
PREV CLASS (src) NEXT CLASS (src) | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |