public class GenericDataSource extends Object
| Modifier and Type | Field and Description |
|---|---|
protected static String |
DATASOURCE |
protected String |
dsName |
protected static String |
SECRET |
| Constructor and Description |
|---|
GenericDataSource() |
GenericDataSource(String dsName) |
| Modifier and Type | Method and Description |
|---|---|
protected com.zaxxer.hikari.HikariDataSource |
createDataSource() |
DataSource |
getDataSource()
Get an instance of the datasource
|
String |
getDbPassKey() |
String |
getDsName() |
protected static final String DATASOURCE
protected static final String SECRET
protected String dsName
public GenericDataSource()
public GenericDataSource(String dsName)
public String getDsName()
public String getDbPassKey()
protected com.zaxxer.hikari.HikariDataSource createDataSource()
public DataSource getDataSource()
Copyright © 2020. All rights reserved.