|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.lang.ClassLoader
org.jboss.proxy.compiler.Runtime
public class Runtime
Manages bytecode assembly for dynamic proxy generation.
This is the only data needed at runtime.
Field Summary | |
---|---|
static String |
RUNTIME_FN
The field name of the runtime target proxies Runtime object. |
Constructor Summary | |
---|---|
Runtime(ClassLoader parent)
Construct a new Runtime |
Method Summary | |
---|---|
Class[] |
copyTargetTypes()
|
URL |
getResource(String name)
Delegate to the original class loader. |
InputStream |
getResourceAsStream(String name)
Delegate to the original class loader. |
Object |
invoke(InvocationHandler invocationHandler,
int methodNum,
Object[] values)
|
Class |
loadClass(String name,
boolean resolve)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final String RUNTIME_FN
Constructor Detail |
---|
public Runtime(ClassLoader parent)
parent
- The parent classloader to delegate to.Method Detail |
---|
public Class[] copyTargetTypes()
public Object invoke(InvocationHandler invocationHandler, int methodNum, Object[] values) throws Throwable
Throwable
public Class loadClass(String name, boolean resolve) throws ClassNotFoundException
loadClass
in class ClassLoader
ClassNotFoundException
public InputStream getResourceAsStream(String name)
getResourceAsStream
in class ClassLoader
public URL getResource(String name)
getResource
in class ClassLoader
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |