org.dellroad.stuff.servlet
Class ContextCleanupListener
java.lang.Object
org.springframework.web.util.IntrospectorCleanupListener
org.dellroad.stuff.servlet.ContextCleanupListener
- All Implemented Interfaces:
- EventListener, ServletContextListener
public class ContextCleanupListener
- extends IntrospectorCleanupListener
Clears references that can cause container memory leaks on Web container class unloading.
- Since:
- 1.0.49
- See Also:
- Spring Wiki Discussion of
ClassLoader Memory Leaks
|
Method Summary |
void |
contextDestroyed(ServletContextEvent event)
Unregisters any JDBC drivers registered under the current class loader after
first invoking the superclass version of this method. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
log
protected final Logger log
ContextCleanupListener
public ContextCleanupListener()
contextDestroyed
public void contextDestroyed(ServletContextEvent event)
- Unregisters any JDBC drivers registered under the current class loader after
first invoking the superclass version of this method.
- Specified by:
contextDestroyed in interface ServletContextListener- Overrides:
contextDestroyed in class IntrospectorCleanupListener