Package ru.bgcrm.util
Class Setup
java.lang.Object
java.util.AbstractMap<String,String>
ru.bgcrm.util.ParameterMap
ru.bgcrm.util.Preferences
ru.bgcrm.util.Setup
- All Implemented Interfaces:
Serializable,Map<String,String>
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class ru.bgcrm.util.ParameterMap
ParameterMap.DefaultParameterMapNested classes/interfaces inherited from class java.util.AbstractMap
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K, V> -
Field Summary
FieldsFields inherited from class ru.bgcrm.util.Preferences
dataFields inherited from class ru.bgcrm.util.ParameterMap
configMap, mapPrint -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetGlobalConfig(int id) Возвращает глобальную конфигурацию по её коду.Отчет по статусу пулов соединенийstatic SetupgetSetup()static SetupvoidreloadConfig(Connection con) Methods inherited from class ru.bgcrm.util.Preferences
entrySet, get, getDataMap, getHashValuesWithPrefix, getVarsFromData, insertVariablesValues, loadBundle, loadData, parseObjects, parseObjectsNoOrder, removeSub, setMethods inherited from class ru.bgcrm.util.ParameterMap
fingerprint, get, getBigDecimal, getBoolean, getConfig, getConfig, getDataString, getDataString, getDataString, getDouble, getFloat, getInt, getLong, inherit, sub, subIndexed, subKeyed, toReferenceMethods inherited from class java.util.AbstractMap
clear, clone, containsKey, containsValue, equals, hashCode, isEmpty, keySet, put, putAll, remove, size, toString, valuesMethods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface java.util.Map
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
-
Field Details
-
bundleName
-
-
Constructor Details
-
Setup
public Setup(boolean initConfigAndPool) -
Setup
-
-
Method Details
-
getSetup
-
getSetup
-
getDataSource
-
getSlaveDataSource
-
getConnectionPool
-
getDBConnectionFromPool
-
reloadConfig
-
getGlobalConfig
Возвращает глобальную конфигурацию по её коду.- Parameters:
id-- Returns:
-
getPoolStatus
Отчет по статусу пулов соединений- Returns:
-