winstone.classLoader
public class ReloadingClassLoader extends WebappClassLoader implements ServletContextListener, java.lang.Runnable
system
Constructor and Description |
---|
ReloadingClassLoader(java.net.URL[] urls,
java.lang.ClassLoader parent) |
Modifier and Type | Method and Description |
---|---|
protected void |
addURL(java.net.URL url) |
void |
contextDestroyed(ServletContextEvent sce) |
void |
contextInitialized(ServletContextEvent sce) |
protected java.lang.Class |
findClass(java.lang.String name) |
java.net.URL |
findResource(java.lang.String name) |
void |
run()
The maintenance thread.
|
getResourceAsStream, loadClass
definePackage, findResources, getPermissions, getURLs, newInstance, newInstance
clearAssertionStatus, defineClass, defineClass, defineClass, defineClass, definePackage, findLibrary, findLoadedClass, findSystemClass, getPackage, getPackages, getParent, getResource, getResources, getSystemClassLoader, getSystemResource, getSystemResourceAsStream, getSystemResources, loadClass, resolveClass, setClassAssertionStatus, setDefaultAssertionStatus, setPackageAssertionStatus, setSigners
public ReloadingClassLoader(java.net.URL[] urls, java.lang.ClassLoader parent)
protected void addURL(java.net.URL url)
addURL
in class java.net.URLClassLoader
public void contextInitialized(ServletContextEvent sce)
contextInitialized
in interface ServletContextListener
public void contextDestroyed(ServletContextEvent sce)
contextDestroyed
in interface ServletContextListener
public void run()
run
in interface java.lang.Runnable
protected java.lang.Class findClass(java.lang.String name) throws java.lang.ClassNotFoundException
findClass
in class java.net.URLClassLoader
java.lang.ClassNotFoundException
public java.net.URL findResource(java.lang.String name)
findResource
in class java.net.URLClassLoader
Copyright © 2014. All Rights Reserved.