@Singleton public class AdminDatabaseConnectionProvider extends Object implements org.gcube.data.analysis.tabulardata.cube.data.connection.DatabaseConnectionProvider
| Constructor and Description |
|---|
AdminDatabaseConnectionProvider(org.gcube.common.database.DatabaseProvider databaseProvider) |
| Modifier and Type | Method and Description |
|---|---|
Connection |
getConnection() |
org.gcube.common.database.endpoint.DatabaseEndpoint |
getDatabaseEndpoint() |
org.postgresql.PGConnection |
getPostgreSQLConnection() |
@Inject public AdminDatabaseConnectionProvider(org.gcube.common.database.DatabaseProvider databaseProvider)
public Connection getConnection() throws SQLException
getConnection in interface org.gcube.data.analysis.tabulardata.cube.data.connection.DatabaseConnectionProviderSQLExceptionpublic org.postgresql.PGConnection getPostgreSQLConnection()
throws SQLException
getPostgreSQLConnection in interface org.gcube.data.analysis.tabulardata.cube.data.connection.DatabaseConnectionProviderSQLExceptionpublic org.gcube.common.database.endpoint.DatabaseEndpoint getDatabaseEndpoint()
getDatabaseEndpoint in interface org.gcube.data.analysis.tabulardata.cube.data.connection.DatabaseConnectionProviderCopyright © 2014. All Rights Reserved.