|
TUM CCSM Commons | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.lang.ClassLoader
edu.tum.cs.commons.reflect.InMemoryClassLoader
public class InMemoryClassLoader
Class loader used to directly load a raw array of byte code.
| Constructor Summary | |
|---|---|
InMemoryClassLoader()
Constructor. |
|
InMemoryClassLoader(java.lang.ClassLoader parent)
Constructor. |
|
InMemoryClassLoader(java.lang.ClassLoader parent,
java.lang.String className,
byte[] byteCode)
Constructor. |
|
InMemoryClassLoader(java.lang.String className,
byte[] byteCode)
Constructor. |
|
| Method Summary | |
|---|---|
void |
insertClass(java.lang.String className,
byte[] byteCode)
Inserts a class into this class loader (i.e. makes it available for later calls). |
| Methods inherited from class java.lang.ClassLoader |
|---|
clearAssertionStatus, defineClass, defineClass, defineClass, defineClass, definePackage, findClass, findLibrary, findLoadedClass, findResource, findResources, findSystemClass, getPackage, getPackages, getParent, getResource, getResourceAsStream, getResources, getSystemClassLoader, getSystemResource, getSystemResourceAsStream, getSystemResources, loadClass, loadClass, resolveClass, setClassAssertionStatus, setDefaultAssertionStatus, setPackageAssertionStatus, setSigners |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public InMemoryClassLoader()
public InMemoryClassLoader(java.lang.ClassLoader parent)
public InMemoryClassLoader(java.lang.String className,
byte[] byteCode)
public InMemoryClassLoader(java.lang.ClassLoader parent,
java.lang.String className,
byte[] byteCode)
| Method Detail |
|---|
public void insertClass(java.lang.String className,
byte[] byteCode)
|
TUM CCSM Commons | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||