org.bonitasoft.engine.classloader
public class MonoParentJarFileClassLoader extends org.apache.xbean.classloader.NamedClassLoader
| Constructor and Description |
|---|
MonoParentJarFileClassLoader(String name,
URL[] urls)
Creates a JarFileClassLoader that is a child of the system class loader.
|
MonoParentJarFileClassLoader(String name,
URL[] urls,
ClassLoader parent)
Creates a JarFileClassLoader that is a child of the specified class loader.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addURL(URL url) |
protected void |
addURLs(URL[] urls)
Adds an array of urls to the end of this class loader.
|
void |
destroy() |
protected Class |
findClass(String className) |
protected String |
findLibrary(String libraryName) |
URL |
findResource(String resourceName) |
Enumeration |
findResources(String resourceName) |
URL[] |
getURLs() |
getName, isDestroyed, toStringdefinePackage, getPermissions, newInstance, newInstancedefineClass, defineClassclearAssertionStatus, defineClass, defineClass, defineClass, defineClass, definePackage, findLoadedClass, findSystemClass, getPackage, getPackages, getParent, getResource, getResourceAsStream, getResources, getSystemClassLoader, getSystemResource, getSystemResourceAsStream, getSystemResources, loadClass, loadClass, resolveClass, setClassAssertionStatus, setDefaultAssertionStatus, setPackageAssertionStatus, setSignerspublic MonoParentJarFileClassLoader(String name, URL[] urls)
name - the name of this class loaderurls - a list of URLs from which classes and resources should be loadedpublic MonoParentJarFileClassLoader(String name, URL[] urls, ClassLoader parent)
name - the name of this class loaderurls - a list of URLs from which classes and resources should be loadedparent - the parent of this class loaderpublic URL[] getURLs()
getURLs in class URLClassLoaderpublic void addURL(URL url)
addURL in class URLClassLoaderprotected void addURLs(URL[] urls)
urls - the URLs to addpublic void destroy()
destroy in interface org.apache.xbean.classloader.DestroyableClassLoaderdestroy in class org.apache.xbean.classloader.NamedClassLoaderpublic URL findResource(String resourceName)
findResource in class URLClassLoaderpublic Enumeration findResources(String resourceName) throws IOException
findResources in class URLClassLoaderIOExceptionprotected String findLibrary(String libraryName)
findLibrary in class ClassLoaderprotected Class findClass(String className) throws ClassNotFoundException
findClass in class URLClassLoaderClassNotFoundExceptionCopyright © 2014 Bonitasoft S.A.. All Rights Reserved.