org.apache.catalina.loader
Class JdbcLeakPrevention
java.lang.Object
org.apache.catalina.loader.JdbcLeakPrevention
public class JdbcLeakPrevention
- extends java.lang.Object
This class is loaded by the WebappClassLoader
to enable it to
deregister JDBC drivers forgotten by the web application. There are some
classloading hacks involved - see WebappClassLoader.clearReferences()
for details - but the short version is do not just create a new instance of
this class with the new keyword.
Field Summary |
protected static org.jboss.logging.Logger |
log
The logger for this class. |
protected static StringManager |
sm
The string manager for this package. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
log
protected static org.jboss.logging.Logger log
- The logger for this class.
sm
protected static final StringManager sm
- The string manager for this package.
JdbcLeakPrevention
public JdbcLeakPrevention()
clearJdbcDriverRegistrations
public void clearJdbcDriverRegistrations()
Copyright © 2000-2009 Apache Software Foundation. All Rights Reserved.