Package ru.bitel.bgbilling.server.util
Class Setup
java.lang.Object
ru.bitel.common.ParameterMap
ru.bitel.common.Preferences
ru.bitel.bgbilling.server.util.DefaultServerSetup
ru.bitel.bgbilling.server.util.Setup
- Direct Known Subclasses:
RadiusSetup
Главный setup приложения биллинга.
-
Nested Class Summary
Nested classes/interfaces inherited from class ru.bitel.common.ParameterMap
ParameterMap.DefaultParameterMap
-
Field Summary
Fields inherited from class ru.bitel.bgbilling.server.util.DefaultServerSetup
RETURN_FAKE, RETURN_MASTER, RETURN_NULL, RETURN_SLAVE
Fields inherited from class ru.bitel.common.Preferences
bundleName, data
Fields inherited from class ru.bitel.common.ParameterMap
mapPrint
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionfinal <K extends bitel.billing.server.util.Config>
Kru.bitel.bgbilling.kernel.container.ws.common.Distribution
getFolderPathParam
(String paramName, String defaultValue) getModuleSetup
(Integer moduleId) getPathProperty
(String what, String def) Возвращает значение системной настройки для пути.static Setup
getSetup()
ru.bitel.bgbilling.kernel.container.ws.server.WSClient
void
reloadConfig
(int moduleId) static void
Methods inherited from class ru.bitel.bgbilling.server.util.DefaultServerSetup
checkAndCreatePeriodicTableName, getDBConnection, getDBConnection, getDBConnectionFromPool, getDBConnectionFromPool, getDBSlaveConnectionFromPool, getDBSlaveConnectionFromPool, getDBTrashConnectionFromPool, getDBTrashOrMasterConnectionFromPool, getDBTrashOrSlaveConnectionFromPool, getEnvironment, getMasterPoolLoad, getPoolStackTrace, getPoolStatus, getScheduledExecutorService, getSlaveBaseId, getSlaveConnectionFromPool, getTrashBaseId, getTrashConnectionFromPool, initConnectionPool, initJNDI, initLocales, initMQ, initTrashPoolsAndCreateTableOptions, isReplicationAvailable, isReplicationEnabled, isReplicationNotBehindMaster, logConfigure, returnConToPool, setReplicationAvailable, setReplicationEnabled, setReplicationNotBehindMaster
Methods inherited from class ru.bitel.common.Preferences
entrySet, extract, get, getMap, getObject, getObject, getOrderedValues, loadBundle, loadData, loadData, loadDataEntry, loadFromInputStream, loadModuleSetup, parseObjects, parseObjectsNoOrder, putObject, removeObject, set, updateData
Methods inherited from class ru.bitel.common.ParameterMap
addActionListener, fingerprint, get, getBigDecimal, getBoolean, getChar, getDouble, getEnum, getFloat, getInt, getIntegerList, getLocalDate, getLong, inherit, sub, subIndexed, subKeyed, subLined, throwActionEvent, toReference, toString
-
Field Details
-
instance
-
-
Constructor Details
-
Setup
-
-
Method Details
-
getBundlePreferences
-
getInitDate
-
getDistribution
public ru.bitel.bgbilling.kernel.container.ws.common.Distribution getDistribution() -
getWSClient
public ru.bitel.bgbilling.kernel.container.ws.server.WSClient getWSClient() -
getConfig
-
getModuleSetup
-
getFolderPathParam
-
getTempDirPath
-
getPathProperty
Возвращает значение системной настройки для пути. Если не находит - берет из сетапа, если и в сетапе нет - возвращает def.- Parameters:
what
- название настройкиdef
- значение по-умолчанию- Returns:
- значение
-
getSetup
-
setSetup
-
reloadConfig
public void reloadConfig(int moduleId)
-