public static class AntWebAppContext.AntURLClassLoader extends URLClassLoader
| Constructor and Description |
|---|
AntWebAppContext.AntURLClassLoader(org.apache.tools.ant.AntClassLoader antLoader) |
newInstance, newInstancedefineClass, defineClassdefineClass, defineClass, defineClass, defineClass, findLoadedClass, findSystemClass, getParent, getSystemClassLoader, getSystemResource, getSystemResourceAsStream, getSystemResources, registerAsParallelCapable, resolveClass, setSignerspublic AntWebAppContext.AntURLClassLoader(org.apache.tools.ant.AntClassLoader antLoader)
public InputStream getResourceAsStream(String name)
getResourceAsStream in class URLClassLoaderpublic void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableclose in class URLClassLoaderIOExceptionprotected void addURL(URL url)
addURL in class URLClassLoaderpublic URL[] getURLs()
getURLs in class URLClassLoaderprotected Class<?> findClass(String name) throws ClassNotFoundException
findClass in class URLClassLoaderClassNotFoundExceptionprotected Package definePackage(String name, Manifest man, URL url) throws IllegalArgumentException
definePackage in class URLClassLoaderIllegalArgumentExceptionpublic URL findResource(String name)
findResource in class URLClassLoaderpublic Enumeration<URL> findResources(String name) throws IOException
findResources in class URLClassLoaderIOExceptionprotected PermissionCollection getPermissions(CodeSource codesource)
getPermissions in class URLClassLoaderpublic Class<?> loadClass(String name) throws ClassNotFoundException
loadClass in class ClassLoaderClassNotFoundExceptionprotected Class<?> loadClass(String name, boolean resolve) throws ClassNotFoundException
loadClass in class ClassLoaderClassNotFoundExceptionprotected Object getClassLoadingLock(String className)
getClassLoadingLock in class ClassLoaderpublic URL getResource(String name)
getResource in class ClassLoaderpublic Enumeration<URL> getResources(String name) throws IOException
getResources in class ClassLoaderIOExceptionprotected Package definePackage(String name, String specTitle, String specVersion, String specVendor, String implTitle, String implVersion, String implVendor, URL sealBase) throws IllegalArgumentException
definePackage in class ClassLoaderIllegalArgumentExceptionprotected Package getPackage(String name)
getPackage in class ClassLoaderprotected Package[] getPackages()
getPackages in class ClassLoaderprotected String findLibrary(String libname)
findLibrary in class ClassLoaderpublic void setDefaultAssertionStatus(boolean enabled)
setDefaultAssertionStatus in class ClassLoaderpublic void setPackageAssertionStatus(String packageName, boolean enabled)
setPackageAssertionStatus in class ClassLoaderpublic void setClassAssertionStatus(String className, boolean enabled)
setClassAssertionStatus in class ClassLoaderpublic void clearAssertionStatus()
clearAssertionStatus in class ClassLoaderCopyright © 1995-2015 Webtide. All Rights Reserved.