public class RunnerClassLoader extends ClassLoader
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
protected Class<?> |
findClass(String moduleName,
String name)
This method is needed to make packages work correctly on JDK9+, as it will be called
to load the package-info class.
|
protected URL |
findResource(String name) |
protected Enumeration<URL> |
findResources(String name) |
Class<?> |
loadClass(String name) |
Class<?> |
loadClass(String name,
boolean resolve) |
clearAssertionStatus, defineClass, defineClass, defineClass, defineClass, definePackage, findClass, findLibrary, findLoadedClass, findSystemClass, getClassLoadingLock, getPackage, getPackages, getParent, getResource, getResourceAsStream, getResources, getSystemClassLoader, getSystemResource, getSystemResourceAsStream, getSystemResources, registerAsParallelCapable, resolveClass, setClassAssertionStatus, setDefaultAssertionStatus, setPackageAssertionStatus, setSignerspublic Class<?> loadClass(String name) throws ClassNotFoundException
loadClass in class ClassLoaderClassNotFoundExceptionpublic Class<?> loadClass(String name, boolean resolve) throws ClassNotFoundException
loadClass in class ClassLoaderClassNotFoundExceptionprotected URL findResource(String name)
findResource in class ClassLoaderprotected Enumeration<URL> findResources(String name) throws IOException
findResources in class ClassLoaderIOExceptionprotected Class<?> findClass(String moduleName, String name)
moduleName - name - public void close()
Copyright © 2020 JBoss by Red Hat. All rights reserved.