public class JdbcLeakPrevention
extends java.lang.Object
WebappClassLoaderBase to enable it to deregister JDBC drivers forgotten by the web
application. There are some classloading hacks involved - see WebappClassLoaderBase.clearReferences() for
details - but the short version is do not just create a new instance of this class with the new keyword. Since this
class is loaded by WebappClassLoaderBase, it cannot refer to any internal Tomcat classes as that will cause
the security manager to complain.| Constructor and Description |
|---|
JdbcLeakPrevention() |
| Modifier and Type | Method and Description |
|---|---|
java.util.List<java.lang.String> |
clearJdbcDriverRegistrations() |
Copyright © 2000-2024 Apache Software Foundation.
Apache Tomcat, Tomcat, Apache, the Apache Tomcat logo and the Apache logo are either registered trademarks or trademarks of the Apache Software Foundation.