com.raritantechnologies.eCommerceAdmin
Class ConnectionManager

java.lang.Object
  extended bycom.raritantechnologies.eCommerceAdmin.ConnectionManager

public class ConnectionManager
extends java.lang.Object

Handles database connections for an eCommerce application.


Constructor Summary
ConnectionManager()
           
 
Method Summary
 java.sql.Connection getConnection()
           
static ConnectionManager getInstance()
          Singleton pattern access method.
 java.lang.String getQuery(java.lang.String queryName)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ConnectionManager

public ConnectionManager()
Method Detail

getInstance

public static ConnectionManager getInstance()
Singleton pattern access method.


getConnection

public java.sql.Connection getConnection()
                                  throws java.sql.SQLException
Throws:
java.sql.SQLException

getQuery

public java.lang.String getQuery(java.lang.String queryName)
                          throws java.sql.SQLException
Throws:
java.sql.SQLException