|
Apache Tomcat 6.0.53 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.catalina.loader.JdbcLeakPrevention
public class JdbcLeakPrevention
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.
Since this class is loaded by WebappClassLoader
, it can not refer to
any internal Tomcat classes as that will cause the security manager to
complain.
Constructor Summary | |
---|---|
JdbcLeakPrevention()
|
Method Summary | |
---|---|
java.util.List<java.lang.String> |
clearJdbcDriverRegistrations()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public JdbcLeakPrevention()
Method Detail |
---|
public java.util.List<java.lang.String> clearJdbcDriverRegistrations() throws java.sql.SQLException
java.sql.SQLException
|
Apache Tomcat 6.0.53 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |