|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.springframework.jdbc.datasource.SimpleConnectionHandle
public class SimpleConnectionHandle
Simple implementation of the ConnectionHandle interface, containing a given JDBC Connection.
| Constructor Summary | |
|---|---|
SimpleConnectionHandle(Connection connection)
Create a new SimpleConnectionHandle for the given Connection. |
|
| Method Summary | |
|---|---|
Connection |
getConnection()
Fetch the JDBC Connection that this handle refers to. |
void |
releaseConnection(Connection con)
Release the JDBC Connection that this handle refers to. |
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public SimpleConnectionHandle(Connection connection)
connection - the JDBC Connection| Method Detail |
|---|
public Connection getConnection()
ConnectionHandle
getConnection in interface ConnectionHandlepublic void releaseConnection(Connection con)
ConnectionHandle
releaseConnection in interface ConnectionHandlecon - the JDBC Connection to releasepublic String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||