|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectjava.lang.ClassLoader
remoteTester.runner.server.ByteClassLoader
This class loader instanciate classes provided as a byte array
| Constructor Summary | |
ByteClassLoader(byte[] classAsByte,
java.lang.String className)
This class loader allows to load the Class provided as a byte array in the current JVM |
|
ByteClassLoader(byte[] classAsByte,
java.lang.String className,
byte[][] helperClassesAsBytes,
java.lang.String[] helperClasseNames)
This class loader allows to load the Class provided as a byte array in the current JVM |
|
| Method Summary | |
java.lang.Class |
loadClass()
this should be the prefered method to load the class that was defined in the constructor |
protected java.lang.Class |
loadClass(java.lang.String className,
boolean resolve)
overrride the default class loader mechanism |
| Methods inherited from class java.lang.ClassLoader |
clearAssertionStatus, defineClass, defineClass, defineClass, definePackage, findClass, findLibrary, findLoadedClass, findResource, findResources, findSystemClass, getPackage, getPackages, getParent, getResource, getResourceAsStream, getResources, getSystemClassLoader, getSystemResource, getSystemResourceAsStream, getSystemResources, 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 ByteClassLoader(byte[] classAsByte,
java.lang.String className)
classAsByte - className -
public ByteClassLoader(byte[] classAsByte,
java.lang.String className,
byte[][] helperClassesAsBytes,
java.lang.String[] helperClasseNames)
classAsByte - an array of byte that allows to create a classclassName - the class namehelperClassesAsBytes - helper classes definition as byte arrayshelperClasseNames - helper classes names| Method Detail |
public java.lang.Class loadClass()
throws java.lang.ClassNotFoundException
java.lang.ClassNotFoundException
protected java.lang.Class loadClass(java.lang.String className,
boolean resolve)
throws java.lang.ClassNotFoundException
className - class to loadresolve - need to resolve
java.lang.ClassNotFoundException
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||