Package org.eclnt.ccee.config
Class Config
java.lang.Object
org.eclnt.ccee.config.Config
- All Implemented Interfaces:
ICCEEConstants
Central class for getting configuration parameters.
By default they are stored in a configuration file "ccee_config.properties which is located inside the root package.
If working with contexts, then by default the "default" context is using "ccee_config.properties", all other contexts are using "ccee_config_<:nameOfContext>.properties".
By default they are stored in a configuration file "ccee_config.properties which is located inside the root package.
If working with contexts, then by default the "default" context is using "ccee_config.properties", all other contexts are using "ccee_config_<:nameOfContext>.properties".
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
Fields inherited from interface org.eclnt.ccee.ICCEEConstants
AND, ASC, AVG, BETWEEN, BRC, BRO, COUNT, DEFAULT_CONTEXT, DESC, FUNCTIONRESULT, GREATER, GREATEREQUAL, IN, IS, ISNOT, LIKE, LL_DBG, LL_ERR, LL_INF, LL_WAR, LOWER, LOWEREQUAL, MAX, MIN, NULL, OR, ORDERBY, QPFUNCTION_LOWER, QPFUNCTION_UPPER, SUM
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic String
getConfigValue
(String key) Retrieves configuration value.static String
getConfigValue
(String contextName, String key) Retrieves configuration value within a context.static void
initializeConfigProvider
(IConfigProvider configProvider) Directly set configuration data provider that is always used prior to any internal function.static boolean
-
Field Details
-
CONFIG_db_connectionproviderclassname
- See Also:
-
CONFIG_db_connectionpasswordproviderclassname
- See Also:
-
CONFIG_db_driver
- See Also:
-
CONFIG_db_url
- See Also:
-
CONFIG_db_username
- See Also:
-
CONFIG_db_password
- See Also:
-
CONFIG_db_schema
- See Also:
-
CONFIG_db_explicitSchema
- See Also:
-
CONFIG_db_withpooling
- See Also:
-
CONFIG_db_sqldialect
- See Also:
-
CONFIG_db_autotrim
- See Also:
-
CONFIG_db_datasource
- See Also:
-
CONFIG_db_traceclassname
- See Also:
-
CONFIG_db_changelogwriterclassname
- See Also:
-
CONFIG_config_configproviderclassname
- See Also:
-
CONFIG_config_cascading
- See Also:
-
CONFIG_quartz_active
- See Also:
-
CONFIG_quartz_autosetup
- See Also:
-
CONFIG_deepl_apikey
- See Also:
-
CONFIG_openai_projectid
- See Also:
-
CONFIG_openai_apikey
- See Also:
-
CONFIG_openai_company
- See Also:
-
CONFIG_activemq_borkerURL
- See Also:
-
CONFIG_activemq_username
- See Also:
-
CONFIG_activemq_password
- See Also:
-
-
Constructor Details
-
Config
public Config()
-
-
Method Details
-
initializeConfigProvider
Directly set configuration data provider that is always used prior to any internal function. -
isCascading
public static boolean isCascading() -
getConfigValue
Retrieves configuration value.
Do not buffer this value in the application, because the result may depend on the tenant! -
getConfigValue
Retrieves configuration value within a context.
Do not buffer this value in the application, because the result may depend on the tenant!
-