|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.lang.ClassLoader
org.apache.tools.ant.AntClassLoader
hudson.PluginFirstClassLoader
public class PluginFirstClassLoader
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
| Constructor Summary | |
|---|---|
PluginFirstClassLoader()
|
|
| Method Summary | |
|---|---|
void |
addPathFiles(Collection<File> paths)
|
void |
close()
|
protected Enumeration |
findResources(String name)
|
protected Enumeration |
findResources(String arg0,
boolean arg1)
|
URL |
getResource(String arg0)
|
InputStream |
getResourceAsStream(String name)
|
List<URL> |
getURLs()
|
| Methods inherited from class org.apache.tools.ant.AntClassLoader |
|---|
addJavaLibraries, addLoaderPackageRoot, addPathComponent, addPathElement, addPathFile, addSystemPackageRoot, buildFinished, buildStarted, cleanup, defineClassFromData, definePackage, definePackage, findClass, forceLoadClass, forceLoadSystemClass, getClasspath, getConfiguredParent, getNamedResources, 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.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public PluginFirstClassLoader()
| Method Detail |
|---|
public void addPathFiles(Collection<File> paths)
throws IOException
IOExceptionpublic List<URL> getURLs()
public void close()
throws IOException
close in interface CloseableIOException
protected Enumeration findResources(String arg0,
boolean arg1)
throws IOException
findResources in class org.apache.tools.ant.AntClassLoaderIOException
protected Enumeration findResources(String name)
throws IOException
findResources in class org.apache.tools.ant.AntClassLoaderIOExceptionpublic URL getResource(String arg0)
getResource in class org.apache.tools.ant.AntClassLoaderpublic InputStream getResourceAsStream(String name)
getResourceAsStream in class org.apache.tools.ant.AntClassLoader
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||