public class ConnectionBundleImpl extends java.lang.Object implements ConnectionBundle
| Constructor and Description |
|---|
ConnectionBundleImpl(java.sql.Connection con) |
| Modifier and Type | Method and Description |
|---|---|
void |
close()
forces the release of any resources that might be
associated with this object.
|
void |
finalize() |
java.sql.Connection |
getConnection() |
java.sql.PreparedStatement |
getStatement(java.lang.String stmt_name) |
void |
putStatement(java.lang.String stmt_name,
java.sql.PreparedStatement stmt) |
public java.sql.Connection getConnection()
getConnection in interface ConnectionBundlepublic java.sql.PreparedStatement getStatement(java.lang.String stmt_name)
getStatement in interface ConnectionBundlepublic void putStatement(java.lang.String stmt_name,
java.sql.PreparedStatement stmt)
putStatement in interface ConnectionBundlepublic void close()
throws java.sql.SQLException
ClosableResourceclose in interface ClosableResourcejava.sql.SQLExceptionpublic void finalize()
throws java.lang.Exception
finalize in class java.lang.Objectjava.lang.Exception