|
||||||||||
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.injection.GrailsAwareClassLoader
public class GrailsAwareClassLoader
A class loader that is aware of Groovy sources and injection operations
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 | |
---|---|
GrailsAwareClassLoader()
|
|
GrailsAwareClassLoader(ClassLoader loader)
|
|
GrailsAwareClassLoader(ClassLoader loader,
org.codehaus.groovy.control.CompilerConfiguration config)
|
|
GrailsAwareClassLoader(ClassLoader parent,
org.codehaus.groovy.control.CompilerConfiguration config,
boolean useConfigurationClasspath)
|
|
GrailsAwareClassLoader(groovy.lang.GroovyClassLoader parent)
|
Method Summary | |
---|---|
protected org.codehaus.groovy.control.CompilationUnit |
createCompilationUnit(org.codehaus.groovy.control.CompilerConfiguration config,
CodeSource source)
|
void |
setClassInjectors(ClassInjector[] classInjectors)
|
Methods inherited from class groovy.lang.GroovyClassLoader |
---|
addClasspath, addURL, clearCache, createCollector, defineClass, defineClass, defineClass, defineClass, expandClassPath, generateScriptName, getClassCacheEntry, getClassPath, getLoadedClasses, getResourceLoader, getTimeStamp, isRecompilable, isShouldRecompile, isSourceNewer, loadClass, 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 GrailsAwareClassLoader()
public GrailsAwareClassLoader(ClassLoader loader)
public GrailsAwareClassLoader(groovy.lang.GroovyClassLoader parent)
public GrailsAwareClassLoader(ClassLoader parent, org.codehaus.groovy.control.CompilerConfiguration config, boolean useConfigurationClasspath)
public GrailsAwareClassLoader(ClassLoader loader, org.codehaus.groovy.control.CompilerConfiguration config)
Method Detail |
---|
public void setClassInjectors(ClassInjector[] classInjectors)
protected org.codehaus.groovy.control.CompilationUnit createCompilationUnit(org.codehaus.groovy.control.CompilerConfiguration config, CodeSource source)
createCompilationUnit
in class groovy.lang.GroovyClassLoader
GroovyClassLoader.createCompilationUnit(org.codehaus.groovy.control.CompilerConfiguration, java.security.CodeSource)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |