public class ReloadingClassLoader extends WebappClassLoader implements ServletContextListener, Runnable
system| Constructor and Description |
|---|
ReloadingClassLoader(URL[] urls,
ClassLoader parent) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
addURL(URL url) |
void |
contextDestroyed(ServletContextEvent sce) |
void |
contextInitialized(ServletContextEvent sce) |
protected Class |
findClass(String name) |
URL |
findResource(String name) |
void |
run()
The maintenance thread.
|
getResourceAsStream, loadClassclose, definePackage, findResources, getPermissions, getURLs, newInstance, newInstancedefineClass, defineClassclearAssertionStatus, defineClass, defineClass, defineClass, defineClass, definePackage, findLibrary, findLoadedClass, findSystemClass, getClassLoadingLock, getPackage, getPackages, getParent, getResource, getResources, getSystemClassLoader, getSystemResource, getSystemResourceAsStream, getSystemResources, loadClass, registerAsParallelCapable, resolveClass, setClassAssertionStatus, setDefaultAssertionStatus, setPackageAssertionStatus, setSignerspublic ReloadingClassLoader(URL[] urls, ClassLoader parent)
protected void addURL(URL url)
addURL in class URLClassLoaderpublic void contextInitialized(ServletContextEvent sce)
contextInitialized in interface ServletContextListenerpublic void contextDestroyed(ServletContextEvent sce)
contextDestroyed in interface ServletContextListenerpublic void run()
protected Class findClass(String name) throws ClassNotFoundException
findClass in class URLClassLoaderClassNotFoundExceptionpublic URL findResource(String name)
findResource in class URLClassLoaderCopyright © 2014. All rights reserved.