|
Groovy Documentation | |||||||
FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.lang.ClassLoader java.security.SecureClassLoader java.net.URLClassLoader org.codehaus.groovy.tools.RootLoader org.codehaus.groovy.grails.cli.support.GrailsRootLoader
public class GrailsRootLoader extends org.codehaus.groovy.tools.RootLoader
A custom Groovy RootLoader that works around issue GROOVY-2303. The problem is with Jaxen, so if we manage to remove that dependency (or it stops packaging UserDataHandler) we can revert back to using plain old Groovy RootLoader.
Constructor Summary | |
GrailsRootLoader(java.net.URL[] urls, java.lang.ClassLoader parent)
|
|
GrailsRootLoader()
|
Method Summary | |
---|---|
protected java.lang.Class
|
loadClass(java.lang.String name, boolean resolve)
|
Methods inherited from class org.codehaus.groovy.tools.RootLoader | |
---|---|
org.codehaus.groovy.tools.RootLoader#getResource(java.lang.String), org.codehaus.groovy.tools.RootLoader#addURL(java.net.URL), org.codehaus.groovy.tools.RootLoader#newInstance([Ljava.net.URL;, java.lang.ClassLoader), org.codehaus.groovy.tools.RootLoader#newInstance([Ljava.net.URL;), org.codehaus.groovy.tools.RootLoader#findResource(java.lang.String), org.codehaus.groovy.tools.RootLoader#findResources(java.lang.String), org.codehaus.groovy.tools.RootLoader#getURLs(), org.codehaus.groovy.tools.RootLoader#loadClass(java.lang.String), org.codehaus.groovy.tools.RootLoader#getSystemClassLoader(), org.codehaus.groovy.tools.RootLoader#getResourceAsStream(java.lang.String), org.codehaus.groovy.tools.RootLoader#getSystemResourceAsStream(java.lang.String), org.codehaus.groovy.tools.RootLoader#getSystemResource(java.lang.String), org.codehaus.groovy.tools.RootLoader#getResources(java.lang.String), org.codehaus.groovy.tools.RootLoader#getSystemResources(java.lang.String), org.codehaus.groovy.tools.RootLoader#getParent(), org.codehaus.groovy.tools.RootLoader#setDefaultAssertionStatus(boolean), org.codehaus.groovy.tools.RootLoader#setPackageAssertionStatus(java.lang.String, boolean), org.codehaus.groovy.tools.RootLoader#setClassAssertionStatus(java.lang.String, boolean), org.codehaus.groovy.tools.RootLoader#clearAssertionStatus(), org.codehaus.groovy.tools.RootLoader#wait(), org.codehaus.groovy.tools.RootLoader#wait(long), org.codehaus.groovy.tools.RootLoader#wait(long, int), org.codehaus.groovy.tools.RootLoader#equals(java.lang.Object), org.codehaus.groovy.tools.RootLoader#toString(), org.codehaus.groovy.tools.RootLoader#hashCode(), org.codehaus.groovy.tools.RootLoader#getClass(), org.codehaus.groovy.tools.RootLoader#notify(), org.codehaus.groovy.tools.RootLoader#notifyAll() |
Methods inherited from class java.net.URLClassLoader | |
---|---|
java.net.URLClassLoader#newInstance([Ljava.net.URL;, java.lang.ClassLoader), java.net.URLClassLoader#newInstance([Ljava.net.URL;), java.net.URLClassLoader#findResource(java.lang.String), java.net.URLClassLoader#findResources(java.lang.String), java.net.URLClassLoader#getURLs(), java.net.URLClassLoader#loadClass(java.lang.String), java.net.URLClassLoader#getSystemClassLoader(), java.net.URLClassLoader#getResourceAsStream(java.lang.String), java.net.URLClassLoader#getResource(java.lang.String), java.net.URLClassLoader#getSystemResourceAsStream(java.lang.String), java.net.URLClassLoader#getSystemResource(java.lang.String), java.net.URLClassLoader#getResources(java.lang.String), java.net.URLClassLoader#getSystemResources(java.lang.String), java.net.URLClassLoader#getParent(), java.net.URLClassLoader#setDefaultAssertionStatus(boolean), java.net.URLClassLoader#setPackageAssertionStatus(java.lang.String, boolean), java.net.URLClassLoader#setClassAssertionStatus(java.lang.String, boolean), java.net.URLClassLoader#clearAssertionStatus(), java.net.URLClassLoader#wait(), java.net.URLClassLoader#wait(long), java.net.URLClassLoader#wait(long, int), java.net.URLClassLoader#equals(java.lang.Object), java.net.URLClassLoader#toString(), java.net.URLClassLoader#hashCode(), java.net.URLClassLoader#getClass(), java.net.URLClassLoader#notify(), java.net.URLClassLoader#notifyAll() |
Constructor Detail |
---|
public GrailsRootLoader(java.net.URL[] urls, java.lang.ClassLoader parent)
public GrailsRootLoader()
Method Detail |
---|
@Override protected java.lang.Class loadClass(java.lang.String name, boolean resolve)
Groovy Documentation