public class InVivoClassLoader extends ClassLoader
| Modifier and Type | Field and Description |
|---|---|
private org.osgi.framework.BundleContext |
context |
private String |
testClass |
| Constructor and Description |
|---|
InVivoClassLoader(String clazz,
org.osgi.framework.BundleContext context) |
| Modifier and Type | Method and Description |
|---|---|
private byte[] |
loadBytecode(String classname) |
Class<?> |
loadClass(String name) |
clearAssertionStatus, defineClass, defineClass, defineClass, defineClass, definePackage, findClass, findLibrary, findLoadedClass, findResource, findResources, findSystemClass, getClassLoadingLock, getPackage, getPackages, getParent, getResource, getResourceAsStream, getResources, getSystemClassLoader, getSystemResource, getSystemResourceAsStream, getSystemResources, loadClass, registerAsParallelCapable, resolveClass, setClassAssertionStatus, setDefaultAssertionStatus, setPackageAssertionStatus, setSignersprivate final org.osgi.framework.BundleContext context
private final String testClass
public InVivoClassLoader(String clazz, org.osgi.framework.BundleContext context)
private byte[] loadBytecode(String classname) throws IOException
IOExceptionpublic Class<?> loadClass(String name) throws ClassNotFoundException
loadClass in class ClassLoaderClassNotFoundExceptionCopyright © 2013–2014 Wisdom Framework. All rights reserved.