org.gcube.data.analysis.tabulardata.cube.data.connection.unprivileged
Class UnprivilegedDatabaseConnectionProvider
java.lang.Object
org.gcube.data.analysis.tabulardata.cube.data.connection.unprivileged.UnprivilegedDatabaseConnectionProvider
- All Implemented Interfaces:
- org.gcube.data.analysis.tabulardata.cube.data.connection.DatabaseConnectionProvider
@Default
@Singleton
public class UnprivilegedDatabaseConnectionProvider
- extends Object
- implements org.gcube.data.analysis.tabulardata.cube.data.connection.DatabaseConnectionProvider
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
UnprivilegedDatabaseConnectionProvider
@Inject
public UnprivilegedDatabaseConnectionProvider(org.gcube.common.database.DatabaseProvider databaseProvider)
getConnection
public Connection getConnection()
throws SQLException
- Specified by:
getConnection in interface org.gcube.data.analysis.tabulardata.cube.data.connection.DatabaseConnectionProvider
- Throws:
SQLException
getPostgreSQLConnection
public org.postgresql.PGConnection getPostgreSQLConnection()
throws SQLException
- Specified by:
getPostgreSQLConnection in interface org.gcube.data.analysis.tabulardata.cube.data.connection.DatabaseConnectionProvider
- Throws:
SQLException
getDatabaseEndpoint
public org.gcube.common.database.endpoint.DatabaseEndpoint getDatabaseEndpoint()
- Specified by:
getDatabaseEndpoint in interface org.gcube.data.analysis.tabulardata.cube.data.connection.DatabaseConnectionProvider
Copyright © 2013. All Rights Reserved.