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 ConnectionBundle
public java.sql.PreparedStatement getStatement(java.lang.String stmt_name)
getStatement
in interface ConnectionBundle
public void putStatement(java.lang.String stmt_name, java.sql.PreparedStatement stmt)
putStatement
in interface ConnectionBundle
public void close() throws java.sql.SQLException
ClosableResource
close
in interface ClosableResource
java.sql.SQLException
public void finalize() throws java.lang.Exception
finalize
in class java.lang.Object
java.lang.Exception