public class NoAnnotationURLClassLoader extends URLClassLoader
| Constructor and Description |
|---|
NoAnnotationURLClassLoader(URL[] urls)
Construct a URLClassLoader
|
NoAnnotationURLClassLoader(URL[] urls,
ClassLoader parent)
Construct a URLClassLoader
|
NoAnnotationURLClassLoader(URL[] urls,
ClassLoader parent,
URLStreamHandlerFactory factory)
Construct a URLClassLoader
|
| Modifier and Type | Method and Description |
|---|---|
static NoAnnotationURLClassLoader |
createClassLoader(ClassLoader parent,
URL... urls)
Create a classloader
|
static NoAnnotationURLClassLoader |
createClassLoader(URL... urls)
Create a classloader with the context classloader as parent
|
URL[] |
getAllURLs()
Return all library URLs
|
URL[] |
getURLs()
Return an empty URL array to force the RMI marshalling subsystem to
use the java.server.codebase property as the annotated codebase.
|
addURL, close, definePackage, findClass, findResource, findResources, getPermissions, getResourceAsStream, newInstance, newInstancedefineClass, defineClassclearAssertionStatus, defineClass, defineClass, defineClass, defineClass, definePackage, findLibrary, findLoadedClass, findSystemClass, getClassLoadingLock, getPackage, getPackages, getParent, getResource, getResources, getSystemClassLoader, getSystemResource, getSystemResourceAsStream, getSystemResources, loadClass, loadClass, registerAsParallelCapable, resolveClass, setClassAssertionStatus, setDefaultAssertionStatus, setPackageAssertionStatus, setSignerspublic NoAnnotationURLClassLoader(URL[] urls)
urls - the URLs to load classes from.public NoAnnotationURLClassLoader(URL[] urls, ClassLoader parent)
urls - the URLs to load classes from.parent - the parent classloader.public NoAnnotationURLClassLoader(URL[] urls, ClassLoader parent, URLStreamHandlerFactory factory)
urls - the URLs to load classes from.parent - the parent classloader.factory - the url stream factory.public static NoAnnotationURLClassLoader createClassLoader(URL... urls)
urls - the urlspublic static NoAnnotationURLClassLoader createClassLoader(ClassLoader parent, URL... urls)
parent - the parent classloaderurls - the urlspublic URL[] getAllURLs()
Do not remove this method without running the WebIntegrationTestSuite
public URL[] getURLs()
Do not remove this method without discussing it on the dev list.
getURLs in class URLClassLoaderCopyright © 2012 JBoss by Red Hat. All Rights Reserved.