Griffon 1.2.0

org.codehaus.griffon.cli.support
[Java] Class GriffonRootLoader

java.lang.Object
  java.lang.ClassLoader
      java.security.SecureClassLoader
          java.net.URLClassLoader
              org.codehaus.groovy.tools.RootLoader
                  org.codehaus.griffon.cli.support.GriffonRootLoader

public class GriffonRootLoader
extends 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.

Authors:
Graeme Rocher (Grails 1.0)


Constructor Summary
GriffonRootLoader(URL[] urls, ClassLoader parent)

GriffonRootLoader(URL[] urls)

GriffonRootLoader(ClassLoader parent)

GriffonRootLoader()

 
Method Summary
protected Class loadClass(String name, boolean resolve)

 
Methods inherited from class RootLoader
getResource, addURL, newInstance, newInstance, findResource, findResources, getURLs, loadClass, getSystemClassLoader, getResourceAsStream, getSystemResourceAsStream, getSystemResource, getResources, getSystemResources, getParent, setDefaultAssertionStatus, setPackageAssertionStatus, setClassAssertionStatus, clearAssertionStatus, wait, wait, wait, equals, toString, hashCode, getClass, notify, notifyAll
 
Methods inherited from class URLClassLoader
newInstance, newInstance, findResource, findResources, getURLs, loadClass, getSystemClassLoader, getResourceAsStream, getResource, getSystemResourceAsStream, getSystemResource, getResources, getSystemResources, getParent, setDefaultAssertionStatus, setPackageAssertionStatus, setClassAssertionStatus, clearAssertionStatus, wait, wait, wait, equals, toString, hashCode, getClass, notify, notifyAll
 

Constructor Detail

GriffonRootLoader

public GriffonRootLoader(URL[] urls, ClassLoader parent)


GriffonRootLoader

public GriffonRootLoader(URL[] urls)


GriffonRootLoader

public GriffonRootLoader(ClassLoader parent)


GriffonRootLoader

public GriffonRootLoader()


 
Method Detail

loadClass

protected Class loadClass(String name, boolean resolve)


 

Groovy Documentation