org.springframework.jdbc.datasource
Class SimpleConnectionHandle
java.lang.Object
org.springframework.jdbc.datasource.SimpleConnectionHandle
- All Implemented Interfaces:
- ConnectionHandle
- public class SimpleConnectionHandle
- extends Object
- implements ConnectionHandle
Simple implementation of the ConnectionHandle interface,
containing a given JDBC Connection.
- Since:
- 1.1
- Author:
- Juergen Hoeller
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SimpleConnectionHandle
public SimpleConnectionHandle(Connection connection)
- Create a new SimpleConnectionHandle for the given Connection.
- Parameters:
connection
- the JDBC Connection
getConnection
public Connection getConnection()
- Description copied from interface:
ConnectionHandle
- Return the JDBC Connection that this handle refers to.
- Specified by:
getConnection
in interface ConnectionHandle
Copyright (C) 2003-2004 The Spring Framework Project.