|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.lang.ClassLoader java.security.SecureClassLoader java.net.URLClassLoader groovy.lang.GroovyClassLoader org.codehaus.groovy.grails.compiler.GrailsClassLoader
public class GrailsClassLoader
A GroovyClassLoader that supports reloading using inner class loaders
Nested Class Summary |
---|
Nested classes/interfaces inherited from class groovy.lang.GroovyClassLoader |
---|
groovy.lang.GroovyClassLoader.ClassCollector, groovy.lang.GroovyClassLoader.InnerLoader |
Field Summary |
---|
Fields inherited from class groovy.lang.GroovyClassLoader |
---|
classCache, sourceCache |
Constructor Summary | |
---|---|
GrailsClassLoader(ClassLoader parent,
org.codehaus.groovy.control.CompilerConfiguration config,
GrailsResourceLoader resourceLoader)
|
Method Summary | |
---|---|
protected Class |
loadClass(String name,
boolean resolve)
|
Class |
reloadClass(String name)
|
void |
setGrailsResourceLoader(GrailsResourceLoader resourceLoader)
|
Methods inherited from class groovy.lang.GroovyClassLoader |
---|
addClasspath, addURL, clearCache, createCollector, createCompilationUnit, defineClass, defineClass, defineClass, defineClass, expandClassPath, generateScriptName, getClassCacheEntry, getClassPath, getLoadedClasses, getResourceLoader, getTimeStamp, isRecompilable, isShouldRecompile, isSourceNewer, loadClass, loadClass, parseClass, parseClass, parseClass, parseClass, parseClass, parseClass, parseClass, recompile, removeClassCacheEntry, setClassCacheEntry, setResourceLoader, setShouldRecompile |
Methods inherited from class java.net.URLClassLoader |
---|
definePackage, findClass, findResource, findResources, getPermissions, getURLs, newInstance, newInstance |
Methods inherited from class java.security.SecureClassLoader |
---|
defineClass, defineClass |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public GrailsClassLoader(ClassLoader parent, org.codehaus.groovy.control.CompilerConfiguration config, GrailsResourceLoader resourceLoader)
Method Detail |
---|
public Class reloadClass(String name)
protected Class loadClass(String name, boolean resolve) throws ClassNotFoundException
loadClass
in class groovy.lang.GroovyClassLoader
ClassNotFoundException
public void setGrailsResourceLoader(GrailsResourceLoader resourceLoader)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |