public class MutableClassLoader extends ClassLoader
Constructor and Description |
---|
MutableClassLoader(LinkedHashSet<URL> urls,
org.apache.maven.plugin.logging.Log log) |
Modifier and Type | Method and Description |
---|---|
MutableClassLoader |
add(LinkedHashSet<URL> urls) |
void |
clearAssertionStatus() |
URL |
getResource(String name) |
InputStream |
getResourceAsStream(String name) |
Enumeration<URL> |
getResources(String name) |
Class<?> |
loadClass(String name) |
void |
setClassAssertionStatus(String className,
boolean enabled) |
void |
setDefaultAssertionStatus(boolean enabled) |
void |
setPackageAssertionStatus(String packageName,
boolean enabled) |
defineClass, defineClass, defineClass, defineClass, definePackage, findClass, findLibrary, findLoadedClass, findResource, findResources, findSystemClass, getClassLoadingLock, getPackage, getPackages, getParent, getSystemClassLoader, getSystemResource, getSystemResourceAsStream, getSystemResources, loadClass, registerAsParallelCapable, resolveClass, setSigners
public MutableClassLoader(LinkedHashSet<URL> urls, org.apache.maven.plugin.logging.Log log)
public MutableClassLoader add(LinkedHashSet<URL> urls)
public void clearAssertionStatus()
clearAssertionStatus
in class ClassLoader
public void setClassAssertionStatus(String className, boolean enabled)
setClassAssertionStatus
in class ClassLoader
public void setPackageAssertionStatus(String packageName, boolean enabled)
setPackageAssertionStatus
in class ClassLoader
public void setDefaultAssertionStatus(boolean enabled)
setDefaultAssertionStatus
in class ClassLoader
public InputStream getResourceAsStream(String name)
getResourceAsStream
in class ClassLoader
public Enumeration<URL> getResources(String name) throws IOException
getResources
in class ClassLoader
IOException
public URL getResource(String name)
getResource
in class ClassLoader
public Class<?> loadClass(String name) throws ClassNotFoundException
loadClass
in class ClassLoader
ClassNotFoundException
Copyright © 2017. All Rights Reserved.