org.gcube.data.analysis.tabulardata.cube.data.connection
Class Tomcat7DatabaseConnectionProvider

java.lang.Object
  extended by org.gcube.data.analysis.tabulardata.cube.data.connection.Tomcat7DatabaseConnectionProvider
All Implemented Interfaces:
DatabaseConnectionProvider

public class Tomcat7DatabaseConnectionProvider
extends Object
implements DatabaseConnectionProvider


Constructor Summary
Tomcat7DatabaseConnectionProvider(org.gcube.common.database.endpoint.DatabaseEndpoint databaseEndpoint)
           
 
Method Summary
 Connection getConnection()
           
 org.gcube.common.database.endpoint.DatabaseEndpoint getDatabaseEndpoint()
           
 org.postgresql.PGConnection getPostgreSQLConnection()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Tomcat7DatabaseConnectionProvider

public Tomcat7DatabaseConnectionProvider(org.gcube.common.database.endpoint.DatabaseEndpoint databaseEndpoint)
Method Detail

getConnection

public Connection getConnection()
                         throws SQLException
Specified by:
getConnection in interface DatabaseConnectionProvider
Throws:
SQLException

getPostgreSQLConnection

public org.postgresql.PGConnection getPostgreSQLConnection()
                                                    throws SQLException
Specified by:
getPostgreSQLConnection in interface DatabaseConnectionProvider
Throws:
SQLException

getDatabaseEndpoint

public org.gcube.common.database.endpoint.DatabaseEndpoint getDatabaseEndpoint()
Specified by:
getDatabaseEndpoint in interface DatabaseConnectionProvider


Copyright © 2013. All Rights Reserved.