public class LaunchedURLClassLoader extends URLClassLoader
ClassLoader
used by the Launcher
.Constructor and Description |
---|
LaunchedURLClassLoader(URL[] urls,
ClassLoader parent)
Create a new
LaunchedURLClassLoader instance. |
Modifier and Type | Method and Description |
---|---|
protected Class<?> |
findClass(String name) |
protected Class<?> |
loadClass(String name,
boolean resolve)
Attempt to load classes from the URLs before delegating to the parent loader.
|
addURL, close, definePackage, findResource, findResources, getPermissions, getResourceAsStream, getURLs, newInstance, newInstance
defineClass, defineClass
clearAssertionStatus, defineClass, defineClass, defineClass, defineClass, definePackage, findLibrary, findLoadedClass, findSystemClass, getClassLoadingLock, getPackage, getPackages, getParent, getResource, getResources, getSystemClassLoader, getSystemResource, getSystemResourceAsStream, getSystemResources, loadClass, registerAsParallelCapable, resolveClass, setClassAssertionStatus, setDefaultAssertionStatus, setPackageAssertionStatus, setSigners
public LaunchedURLClassLoader(URL[] urls, ClassLoader parent)
LaunchedURLClassLoader
instance.urls
- the URLs from which to load classes and resourcesparent
- the parent class loader for delegationprotected Class<?> loadClass(String name, boolean resolve) throws ClassNotFoundException
loadClass
in class ClassLoader
ClassNotFoundException
protected Class<?> findClass(String name) throws ClassNotFoundException
findClass
in class URLClassLoader
ClassNotFoundException
Copyright © 2013. All rights reserved.