public class JdbcLeakPrevention extends Object
JdbcDriverHolder and allows it to deregister JDBC drivers.
Some hacks are involved in the loading of the class - see JdbcDriverHolder.stop(),
so this class can refer to classes only from java.* package and must not be referred from other classes.
Placement and naming of this class and methods are very important, since it loaded and invoked via reflection.
| Constructor and Description |
|---|
JdbcLeakPrevention() |
public JdbcLeakPrevention()
public List<String> clearJdbcDriverRegistrations() throws SQLException
SQLExceptionCopyright © 2009-2012 SonarSource. All Rights Reserved.