uk.ac.ebi.mapper.util.database
Class TomcatManagedConnectionFactory

java.lang.Object
  extended by uk.ac.ebi.mapper.util.database.TomcatManagedConnectionFactory
All Implemented Interfaces:
ConnectionProvider

public class TomcatManagedConnectionFactory
extends Object
implements ConnectionProvider

Created by IntelliJ IDEA. User: rcote Date: 29-Sep-2008 Time: 13:30:25 To change this template use File | Settings | File Templates.


Method Summary
static TomcatManagedConnectionFactory getInstance()
           
 Connection getPICRConnection()
           
 Connection getUniparcConnection()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getUniparcConnection

public Connection getUniparcConnection()
                                throws SQLException
Specified by:
getUniparcConnection in interface ConnectionProvider
Throws:
SQLException

getPICRConnection

public Connection getPICRConnection()
                             throws SQLException
Specified by:
getPICRConnection in interface ConnectionProvider
Throws:
SQLException

getInstance

public static TomcatManagedConnectionFactory getInstance()


Copyright © 2011. All Rights Reserved.