public class NuxeoDevWebappClassLoader extends org.apache.catalina.loader.WebappClassLoader implements MutableClassLoader, WebResourcesCacheFlusher
Constructor and Description |
---|
NuxeoDevWebappClassLoader() |
NuxeoDevWebappClassLoader(ClassLoader parent) |
Modifier and Type | Method and Description |
---|---|
void |
addChildren(LocalClassLoader loader) |
void |
addURL(URL url) |
void |
clear() |
LocalClassLoader |
createLocalClassLoader(URL... urls) |
void |
flushWebResources() |
DevFrameworkBootstrap |
getBootstrap() |
LocalClassLoader[] |
getChildren() |
ClassLoader |
getClassLoader() |
ClassLoader |
getParentClassLoader() |
URL |
getResource(String name) |
InputStream |
getResourceAsStream(String name) |
Enumeration<URL> |
getResources(String name) |
Class<?> |
loadClass(String name,
boolean resolve)
Do not synchronize this method at method level to avoid deadlocks.
|
void |
removeChildren(ClassLoader loader) |
void |
setBootstrap(DevFrameworkBootstrap bootstrap) |
void |
setParentClassLoader(ClassLoader pcl) |
addLifecycleListener, addPermission, addPermission, addPermission, addRepository, closeJARs, findClass, findLifecycleListeners, findRepositories, findResource, findResources, getAntiJARLocking, getDelegate, getJarPath, getResources, getURLs, loadClass, modified, removeLifecycleListener, setAntiJARLocking, setDelegate, setJarPath, setResources, setWorkDir, start, stop, toString
close, newInstance, newInstance
clearAssertionStatus, getParent, getSystemClassLoader, getSystemResource, getSystemResourceAsStream, getSystemResources, setClassAssertionStatus, setDefaultAssertionStatus, setPackageAssertionStatus
public NuxeoDevWebappClassLoader()
public NuxeoDevWebappClassLoader(ClassLoader parent)
public LocalClassLoader createLocalClassLoader(URL... urls)
public void setBootstrap(DevFrameworkBootstrap bootstrap)
public DevFrameworkBootstrap getBootstrap()
public void addChildren(LocalClassLoader loader)
public void removeChildren(ClassLoader loader)
public void clear()
public void flushWebResources()
flushWebResources
in interface WebResourcesCacheFlusher
public LocalClassLoader[] getChildren()
public Class<?> loadClass(String name, boolean resolve) throws ClassNotFoundException
loadClass
in class org.apache.catalina.loader.WebappClassLoader
ClassNotFoundException
public URL getResource(String name)
getResource
in class org.apache.catalina.loader.WebappClassLoader
public InputStream getResourceAsStream(String name)
getResourceAsStream
in class org.apache.catalina.loader.WebappClassLoader
public Enumeration<URL> getResources(String name) throws IOException
getResources
in class ClassLoader
IOException
public void addURL(URL url)
addURL
in interface MutableClassLoader
addURL
in class org.apache.catalina.loader.WebappClassLoader
public void setParentClassLoader(ClassLoader pcl)
setParentClassLoader
in class org.apache.catalina.loader.WebappClassLoader
public ClassLoader getParentClassLoader()
public ClassLoader getClassLoader()
getClassLoader
in interface MutableClassLoader
Copyright © 2011 Nuxeo SA. All Rights Reserved.