Package hudson
Class PluginFirstClassLoader
- java.lang.Object
-
- java.lang.ClassLoader
-
- org.apache.tools.ant.AntClassLoader
-
- jenkins.util.AntClassLoader
-
- hudson.PluginFirstClassLoader
-
- All Implemented Interfaces:
Closeable
,AutoCloseable
,EventListener
,JenkinsClassLoader
,org.apache.tools.ant.BuildListener
,org.apache.tools.ant.SubBuildListener
@Deprecated public class PluginFirstClassLoader extends AntClassLoader
Deprecated.classLoader which use first /WEB-INF/lib/*.jar and /WEB-INF/classes before core classLoader you must use the pluginFirstClassLoader true in the maven-hpi-plugin- Since:
- 1.371
- Author:
- olamy
-
-
Constructor Summary
Constructors Constructor Description PluginFirstClassLoader()
Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description void
addPathFiles(Collection<File> paths)
Deprecated.Enumeration
findResources(String name)
Deprecated.Public version ofClassLoader.findResources(String)
protected Enumeration
findResources(String name, boolean skipParent)
Deprecated.URL
getResource(String name)
Deprecated.InputStream
getResourceAsStream(String name)
Deprecated.List<URL>
getURLs()
Deprecated.-
Methods inherited from class jenkins.util.AntClassLoader
findLoadedClass2, findResource, getClassLoadingLock
-
Methods inherited from class org.apache.tools.ant.AntClassLoader
addJavaLibraries, addLoaderPackageRoot, addPathComponent, addPathElement, addPathFile, addSystemPackageRoot, buildFinished, buildStarted, cleanup, close, defineClassFromData, definePackage, definePackage, findClass, forceLoadClass, forceLoadSystemClass, getClasspath, getConfiguredParent, getNamedResources, getResources, getResourceURL, initializeClass, isInPath, loadClass, log, messageLogged, newAntClassLoader, resetThreadContextLoader, setClassPath, setIsolated, setParent, setParentFirst, setProject, setThreadContextLoader, subBuildFinished, subBuildStarted, targetFinished, targetStarted, taskFinished, taskStarted, toString
-
Methods inherited from class java.lang.ClassLoader
clearAssertionStatus, defineClass, defineClass, defineClass, defineClass, definePackage, findClass, findLibrary, findLoadedClass, findResource, findSystemClass, getDefinedPackage, getDefinedPackages, getName, getPackage, getPackages, getParent, getPlatformClassLoader, getSystemClassLoader, getSystemResource, getSystemResourceAsStream, getSystemResources, getUnnamedModule, isRegisteredAsParallelCapable, loadClass, registerAsParallelCapable, resolveClass, resources, setClassAssertionStatus, setDefaultAssertionStatus, setPackageAssertionStatus, setSigners
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface jenkins.util.JenkinsClassLoader
findClass
-
-
-
-
Method Detail
-
addPathFiles
public void addPathFiles(Collection<File> paths) throws IOException
Deprecated.- Overrides:
addPathFiles
in classAntClassLoader
- Throws:
IOException
-
getURLs
public List<URL> getURLs()
Deprecated.- Returns:
- List of jar used by the plugin /WEB-INF/lib/*.jar and classes directory /WEB-INF/classes
-
findResources
protected Enumeration findResources(String name, boolean skipParent) throws IOException
Deprecated.- Overrides:
findResources
in classorg.apache.tools.ant.AntClassLoader
- Throws:
IOException
-
findResources
public Enumeration findResources(String name) throws IOException
Deprecated.Description copied from interface:JenkinsClassLoader
Public version ofClassLoader.findResources(String)
- Specified by:
findResources
in interfaceJenkinsClassLoader
- Overrides:
findResources
in classAntClassLoader
- Throws:
IOException
-
getResource
public URL getResource(String name)
Deprecated.- Overrides:
getResource
in classorg.apache.tools.ant.AntClassLoader
-
getResourceAsStream
public InputStream getResourceAsStream(String name)
Deprecated.- Overrides:
getResourceAsStream
in classorg.apache.tools.ant.AntClassLoader
-
-