public class JettyAndServletApiOnlyClassLoader extends ClassLoader
This is because the classloader that loads this plugin brings in a whole lot of baggage, such as Maven, Xalan, commons libraries, and etc., which can interfere with what's in Jenkins and plugins.
| Constructor and Description |
|---|
JettyAndServletApiOnlyClassLoader(ClassLoader parent,
ClassLoader jettyClassLoader) |
| Modifier and Type | Method and Description |
|---|---|
protected Class<?> |
findClass(String name) |
Enumeration<URL> |
getResources(String name) |
clearAssertionStatus, defineClass, defineClass, defineClass, defineClass, definePackage, findLibrary, findLoadedClass, findResource, findResources, findSystemClass, getClassLoadingLock, getPackage, getPackages, getParent, getResource, getResourceAsStream, getSystemClassLoader, getSystemResource, getSystemResourceAsStream, getSystemResources, loadClass, loadClass, registerAsParallelCapable, resolveClass, setClassAssertionStatus, setDefaultAssertionStatus, setPackageAssertionStatus, setSignerspublic JettyAndServletApiOnlyClassLoader(ClassLoader parent, ClassLoader jettyClassLoader)
public Enumeration<URL> getResources(String name) throws IOException
getResources in class ClassLoaderIOExceptionprotected Class<?> findClass(String name) throws ClassNotFoundException
findClass in class ClassLoaderClassNotFoundExceptionCopyright © 2004-2016. All Rights Reserved.