com.redstarhackers.jdbc.conn
Class DriverManagerConnectionFactory

java.lang.Object
  extended bycom.redstarhackers.jdbc.conn.DriverManagerConnectionFactory
All Implemented Interfaces:
DBConnectionFactory

public class DriverManagerConnectionFactory
extends java.lang.Object
implements DBConnectionFactory

TODO Class summary sentence. Class documentation.

Version:
$Revision: 1127 $
Author:
$Author: kostya $

Field Summary
 
Fields inherited from interface com.redstarhackers.jdbc.conn.DBConnectionFactory
DB_CONN_FACTORY_BASE_PROP
 
Constructor Summary
DriverManagerConnectionFactory()
           
DriverManagerConnectionFactory(java.lang.String name)
           
 
Method Summary
 java.sql.Connection getConnection()
           
 java.lang.String getName()
           
 java.util.Properties getProperties()
           
 void initialize(java.util.Properties props)
           
 void releaseConnection(java.sql.Connection conn)
           
 void setName(java.lang.String name)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DriverManagerConnectionFactory

public DriverManagerConnectionFactory()

DriverManagerConnectionFactory

public DriverManagerConnectionFactory(java.lang.String name)
Method Detail

initialize

public void initialize(java.util.Properties props)
Specified by:
initialize in interface DBConnectionFactory

getName

public java.lang.String getName()
Specified by:
getName in interface DBConnectionFactory

setName

public void setName(java.lang.String name)
Specified by:
setName in interface DBConnectionFactory

getProperties

public java.util.Properties getProperties()
Specified by:
getProperties in interface DBConnectionFactory

getConnection

public java.sql.Connection getConnection()
Specified by:
getConnection in interface DBConnectionFactory

releaseConnection

public void releaseConnection(java.sql.Connection conn)
Specified by:
releaseConnection in interface DBConnectionFactory