org.edg.data.util
Class ConnectionFactory

java.lang.Object
  |
  +--org.edg.data.util.ConnectionFactory
Direct Known Subclasses:
DriverBasedConnectionFactory, JNDIConnectionFactory

public abstract class ConnectionFactory
extends java.lang.Object

A Generic connection factory. This can have different implementations, all they need to be able to do is create a Connection.

Version:
$ Id:$
Author:
James Casey

Field Summary
protected static org.apache.log4j.Logger m_log
           
 
Constructor Summary
ConnectionFactory()
           
 
Method Summary
abstract  java.sql.Connection connection()
           
 int getMaxColumnNameSize()
           
 java.lang.String getVendor()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

m_log

protected static final org.apache.log4j.Logger m_log
Constructor Detail

ConnectionFactory

public ConnectionFactory()
Method Detail

connection

public abstract java.sql.Connection connection()
                                        throws java.sql.SQLException
java.sql.SQLException

getVendor

public final java.lang.String getVendor()
                                 throws java.sql.SQLException
java.sql.SQLException

getMaxColumnNameSize

public final int getMaxColumnNameSize()
                               throws java.sql.SQLException
java.sql.SQLException