public class ConnectionFactory extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
module |
static ConnectionProvider |
provider
Convenience reference to an adapter for the ConnectionProvider interface.
|
| Constructor and Description |
|---|
ConnectionFactory() |
| Modifier and Type | Method and Description |
|---|---|
static Connection |
getConnection(String helperName) |
static void |
removeDatasource(String helperName)
Remove the datasource by the given name if one was configured
|
static Connection |
tryGenericConnectionSources(String helperName,
JdbcDatasourceInfo jdbcDatasource) |
public static final String module
public static final ConnectionProvider provider
public static Connection getConnection(String helperName) throws SQLException, GenericEntityException
SQLExceptionGenericEntityExceptionpublic static Connection tryGenericConnectionSources(String helperName, JdbcDatasourceInfo jdbcDatasource) throws SQLException, GenericEntityException
SQLExceptionGenericEntityExceptionpublic static void removeDatasource(String helperName)
helperName - The datasource to removeCopyright © 2015 Atlassian. All rights reserved.