public class Setup extends Preferences
ParameterMap.DefaultParameterMap
Modifier and Type | Field and Description |
---|---|
protected java.lang.String |
bundleName |
data
configMap, mapPrint
Constructor and Description |
---|
Setup(boolean initConfigAndPool) |
Setup(java.lang.String bundleName,
boolean initConfigAndPool) |
Modifier and Type | Method and Description |
---|---|
ConnectionPool |
getConnectionPool() |
javax.sql.DataSource |
getDataSource() |
java.sql.Connection |
getDBConnectionFromPool() |
ParameterMap |
getGlobalConfig(int id)
Возвращает глобальную конфигурацию по её коду.
|
java.lang.String |
getPoolStatus()
Отчет по статусу пулов соединений
|
static Setup |
getSetup() |
static Setup |
getSetup(java.lang.String bundleName,
boolean initConfig) |
javax.sql.DataSource |
getSlaveDataSource() |
entrySet, get, getDataMap, getHashValuesWithPrefix, getVarsFromData, insertVariablesValues, loadBundle, loadData, loadDataEntry, parseObjects, parseObjectsNoOrder, removeSub, set
fingerprint, get, getBigDecimal, getBoolean, getConfig, getConfig, getDataString, getDataString, getDataString, getDouble, getFloat, getInt, getLong, inherit, sub, subIndexed, subKeyed, toReference
public Setup(boolean initConfigAndPool)
public Setup(java.lang.String bundleName, boolean initConfigAndPool)
public static Setup getSetup()
public static Setup getSetup(java.lang.String bundleName, boolean initConfig)
public javax.sql.DataSource getDataSource()
public javax.sql.DataSource getSlaveDataSource()
public ConnectionPool getConnectionPool()
public java.sql.Connection getDBConnectionFromPool()
public ParameterMap getGlobalConfig(int id)
id
- public java.lang.String getPoolStatus()