public class SingleServingGosuClassLoader extends ClassLoader implements IGosuClassLoader
| Modifier and Type | Method and Description |
|---|---|
void |
assignParent(ClassLoader classLoader) |
static void |
clearCache() |
static void |
clearCache(String gosuClassName) |
Class |
defineClass(String name,
byte[] bytes) |
void |
dumpAllClasses() |
void |
evictLoader(String packageName) |
Class<?> |
findClass(String strName) |
ClassLoader |
getActualLoader() |
byte[] |
getBytes(ICompilableType gsClass) |
static Class |
getCached(ICompilableType gsClass) |
IJavaType |
getFunctionClassForArity(int length) |
boolean |
isDisposed() |
protected Class<?> |
loadClass(String name,
boolean resolve) |
protected void |
unload(String gosuClassName) |
boolean |
waitForLoaderToUnload(String packageName,
long millisToWait) |
clearAssertionStatus, defineClass, defineClass, defineClass, defineClass, definePackage, findLibrary, findLoadedClass, findResource, findResources, findSystemClass, getClassLoadingLock, getPackage, getPackages, getParent, getResource, getResourceAsStream, getResources, getSystemClassLoader, getSystemResource, getSystemResourceAsStream, getSystemResources, loadClass, registerAsParallelCapable, resolveClass, setClassAssertionStatus, setDefaultAssertionStatus, setPackageAssertionStatus, setSignersclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitloadClasspublic static Class getCached(ICompilableType gsClass)
public static void clearCache()
public static void clearCache(String gosuClassName)
public Class<?> findClass(String strName) throws ClassNotFoundException
findClass in interface IGosuClassLoaderfindClass in class ClassLoaderClassNotFoundExceptionprotected void unload(String gosuClassName)
protected Class<?> loadClass(String name, boolean resolve) throws ClassNotFoundException
loadClass in class ClassLoaderClassNotFoundExceptionpublic void dumpAllClasses()
dumpAllClasses in interface IGosuClassLoaderpublic boolean waitForLoaderToUnload(String packageName, long millisToWait)
waitForLoaderToUnload in interface IGosuClassLoaderpublic void evictLoader(String packageName)
evictLoader in interface IGosuClassLoaderpublic IJavaType getFunctionClassForArity(int length)
getFunctionClassForArity in interface IGosuClassLoaderpublic ClassLoader getActualLoader()
getActualLoader in interface IGosuClassLoaderpublic Class defineClass(String name, byte[] bytes)
defineClass in interface IGosuClassLoaderpublic byte[] getBytes(ICompilableType gsClass)
getBytes in interface IGosuClassLoaderpublic void assignParent(ClassLoader classLoader)
assignParent in interface IGosuClassLoaderpublic boolean isDisposed()
Copyright © 2017. All rights reserved.