public class GroovyScriptClassLoader
extends java.lang.ClassLoader
Modifier and Type | Class and Description |
---|---|
static class |
GroovyScriptClassLoader.EvictionCounter
Simple listener to log a warning if the notFound cache appears to be thrashing.
|
Constructor and Description |
---|
GroovyScriptClassLoader(java.lang.ClassLoader p) |
Modifier and Type | Method and Description |
---|---|
java.lang.Class |
findClass(java.lang.String className) |
java.net.URL |
findResource(java.lang.String resourceName) |
static java.util.Set |
getNotFoundKeys()
This method is for debugging to return the current keys (classnames) in the notFound map.
|
java.lang.Class |
loadClass(java.lang.String className,
boolean resolve) |
clearAssertionStatus, getParent, getResource, getResourceAsStream, getResources, getSystemClassLoader, getSystemResource, getSystemResourceAsStream, getSystemResources, loadClass, setClassAssertionStatus, setDefaultAssertionStatus, setPackageAssertionStatus
public java.lang.Class findClass(java.lang.String className) throws java.lang.ClassNotFoundException
findClass
in class java.lang.ClassLoader
java.lang.ClassNotFoundException
public java.lang.Class loadClass(java.lang.String className, boolean resolve) throws java.lang.ClassNotFoundException
loadClass
in class java.lang.ClassLoader
java.lang.ClassNotFoundException
public java.net.URL findResource(java.lang.String resourceName)
findResource
in class java.lang.ClassLoader
public static java.util.Set getNotFoundKeys()
Copyright © 2000-2025 OAshi S.à r.l. All Rights Reserved.