Class ConfigurationConstants
java.lang.Object
de.aristaflow.adept2.base.configuration.ConfigurationConstants
Configuration-related global constants for general use in configuration
files.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumThe names for all supported communication protocols (which are equal to the instance names of the corresponding communication services). -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringThe separator for multi-valued class paths.static final StringThe name of the component type for console logging.static final StringThe name of the component type for file logging.static final StringThe prefix for the configuration of the configuration manager.static final StringThe name of the directory where usually all configurations are stored.static final StringThe configuration file for booting and initialising bootstrap configuration manager, logging, and registry.static final StringThe file extension used for all configuration filesstatic final StringThe prefix for configuration values that contain variables that are to be resolved when loading the configuration.static final StringThe string identifying the position in the configuration directories/URLs where to apply a provided configuration.static final StringThe property name for performing a System.exit() if termination does not succeed.static final StringThe property name for performing a thread dump in the given interval during terminationstatic final StringThe column name for keys of runtime configuration tables.static final StringThe column name for values of runtime configuration tables.static final StringThe prefix for the table names for runtime configuration tables.static final StringThe prefix for the definition of configuration variables defined in the configuration itself.static final StringThe directory name that should be used for jar outputs (WSDL and Java imports).static final StringThe configuration key for the classes of a filter of a logger.static final StringThe configuration key for the CSV mode of a file logger.static final StringThe configuration key for the amount of log files.static final StringThe configuration key for size of a log file.static final StringThe configuration key for the filter of a logger.static final StringThe configuration key for the level of a logger or a filter.static final StringThe configuration key for the directory of a file logger.static final StringThe file extension for file logs.static final StringThe configuration key for the root of a logger or a filter.static final StringThe prefix for the logging configuration.static final StringThe prefix for declaring component instances managed by a registry.static final StringThe prefix for the component types managed by a registry.static final StringThe key of theproduct propertyproviding a stable and locale-independent short name to be used as the directory name (e. g.static final StringThe property name for the cluster name of a server or client.static final StringThe property name for separate configuration files.static final StringThe property name for runtime configuration files/directories.static final StringThe property name for runtime configuration files/directories.static final StringThe prefix for runtime configuration files/directories or data sources.static final StringThe property name for the names of the foreign clusters that will be removed from the database, e.static final StringThe property name for the last update milliseconds which must have elapsed for foreign clusters to be removed from the database, e.static final StringThe property name for the instance name of a server or client.static final StringThe property name for the classpath of a specific component/plugin instance.static final StringThe property name for the implementing class of a component type.static final StringThe property name for the instantiation mode for a component instance.static final StringThe property name for the path where to look initially for plugins, this is the classpath of the plugin type.static final StringThe property name for the plugin types an instance can use.static final StringThe property name for the service URI of a component instance.static final StringThe property name for the (symbolic) URI of a server or client.static final StringThe name of the property for the (simple) service names to start at startup.static final StringThe simple instance names, a service will be exported with.static final StringThe name of the property to configure the amount of threads used for multi-threaded service starting.static final StringWhether the service is to be published at the global registry.static final StringThe key of the system property for the simple product name (without company name) currently run.static final StringThe key of the system property with theSYS_PROP_PRODUCT_NAMEfor usage as directory. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic StringgetConfigurationBundleRoot(String subDir) The path of the root configuration file within the bundle configuration (JAR-file) which has to be present to identify a bundle as configuration bundle.
-
Field Details
-
CLASS_PATH_SEPARATOR
The separator for multi-valued class paths.File.pathSeparatorcannot be used here since it depends on the running platform and we want the configuration files to be platform-independent. This is also the reason for not using ":". ;-)- See Also:
-
CONFIG_FILE_EXTENSION
The file extension used for all configuration files- See Also:
-
SYS_PROP_PRODUCT_NAME
The key of the system property for the simple product name (without company name) currently run. For Eclipse applications, this is usuallyorg.eclipse.core.runtime.Platform.getProduct().getName().- See Also:
-
SYS_PROP_PRODUCT_NAME_DIRECTORY
The key of the system property with theSYS_PROP_PRODUCT_NAMEfor usage as directory. This will not be set for Eclipse applications. Usuallyeclipse.home.locationorosgi.install.areamay be a good alternatives.- See Also:
-
PRODUCT_PROP_NAME_DIRECTORY
The key of theproduct propertyproviding a stable and locale-independent short name to be used as the directory name (e. g.processtemplateeditor). It is set as the value ofSYS_PROP_PRODUCT_NAME_DIRECTORY. Every product run throughAristaFlowApplicationmust declare this property and its value must be a literal (not a localised%key) so that the directory name does not change with the UI language.- See Also:
-
CONFIG_FILE_BOOT
The configuration file for booting and initialising bootstrap configuration manager, logging, and registry.- See Also:
-
CONFIG_DIRECTORY
The name of the directory where usually all configurations are stored.- See Also:
-
CONFIG_PROVIDED_POSITION
The string identifying the position in the configuration directories/URLs where to apply a provided configuration.- See Also:
-
PROPERTY_CLUSTER_NAME
The property name for the cluster name of a server or client.- See Also:
-
PROPERTY_FOREIGN_CLUSTERS_LAST_UPDATE_SECONDS
The property name for the last update milliseconds which must have elapsed for foreign clusters to be removed from the database, e. g. since the database has been copied from one of these clusters.- See Also:
-
PROPERTY_FOREIGN_CLUSTERS
The property name for the names of the foreign clusters that will be removed from the database, e. g. since the database has been copied from one of these clusters.- See Also:
-
PROPERTY_INSTANCE_NAME
The property name for the instance name of a server or client.- See Also:
-
PROPERTY_URI
The property name for the (symbolic) URI of a server or client.- See Also:
-
CONFIG_TERMINATION_THREAD_DUMP_INTERVAL_SECONDS
The property name for performing a thread dump in the given interval during termination- See Also:
-
CONFIG_TERMINATION_SYSTEM_EXIT_SECONDS
The property name for performing a System.exit() if termination does not succeed.- See Also:
-
PROPERTY_CONFIGURATION_FILE
The property name for separate configuration files.- See Also:
-
PROPERTY_CONFIGURATION_RUNTIME_PREFIX
The prefix for runtime configuration files/directories or data sources.- See Also:
-
PROPERTY_CONFIGURATION_RUNTIME_FILE
The property name for runtime configuration files/directories.- See Also:
-
PROPERTY_CONFIGURATION_RUNTIME_DATA_SOURCE
The property name for runtime configuration files/directories. -
PROPERTY_REGISTRY_IMPLEMENTATION
The property name for the implementing class of a component type.- See Also:
-
PROPERTY_REGISTRY_INSTANTIATION_MODE
The property name for the instantiation mode for a component instance.- See Also:
-
PROPERTY_REGISTRY_CLASSPATH
The property name for the classpath of a specific component/plugin instance.- See Also:
-
PROPERTY_REGISTRY_PLUGIN_TYPES
The property name for the plugin types an instance can use.- See Also:
-
PROPERTY_REGISTRY_PLUGIN_CLASSPATH
The property name for the path where to look initially for plugins, this is the classpath of the plugin type.- See Also:
-
PROPERTY_REGISTRY_SERVICE_URI
The property name for the service URI of a component instance.- See Also:
-
COMPONENT_TYPE_CONSOLE_LOGGER
The name of the component type for console logging.- See Also:
-
COMPONENT_TYPE_FILE_LOGGER
The name of the component type for file logging.- See Also:
-
PREFIX_PROPERTY_REGISTRY_TYPES
The prefix for the component types managed by a registry.- See Also:
-
PREFIX_PROPERTY_REGISTRY_INSTANCES
The prefix for declaring component instances managed by a registry.- See Also:
-
PREFIX_PROPERTY_LOGGING
The prefix for the logging configuration.- See Also:
-
LOGGER_CONFIGURATION_LEVEL
The configuration key for the level of a logger or a filter.- See Also:
-
LOGGER_CONFIGURATION_ROOT
The configuration key for the root of a logger or a filter.- See Also:
-
LOGGER_CONFIGURATION_LOG_DIRECTORY
The configuration key for the directory of a file logger.- See Also:
-
LOGGER_CONFIGURATION_LOG_EXTENSION
The file extension for file logs.- See Also:
-
LOGGER_CONFIGURATION_FILE_SIZE
The configuration key for size of a log file.- See Also:
-
LOGGER_CONFIGURATION_FILE_COUNT
The configuration key for the amount of log files.- See Also:
-
LOGGER_CONFIGURATION_CSV_MODE
The configuration key for the CSV mode of a file logger.- See Also:
-
LOGGER_CONFIGURATION_FILTER
The configuration key for the filter of a logger.- See Also:
-
LOGGER_CONFIGURATION_CLASSES
The configuration key for the classes of a filter of a logger.- See Also:
-
CONFIG_CONFIGURATION_MANAGER
The prefix for the configuration of the configuration manager.- See Also:
-
CONFIG_PREFIX_RESOLVED_VARIABLES
The prefix for configuration values that contain variables that are to be resolved when loading the configuration.- See Also:
-
CONFIGURATION_VARIABLE
The prefix for the definition of configuration variables defined in the configuration itself. This is used for defining as well as accessing the variables.- See Also:
-
CONFIGURATION_RUNTIME_DB_TABLE_PREFIX
The prefix for the table names for runtime configuration tables.- See Also:
-
CONFIGURATION_RUNTIME_DB_COLUMN_KEY
The column name for keys of runtime configuration tables.- See Also:
-
CONFIGURATION_RUNTIME_DB_COLUMN_VALUE
The column name for values of runtime configuration tables.- See Also:
-
SERVICE_EXPORT_VIA
The simple instance names, a service will be exported with.- See Also:
-
SERVICE_PUBLISH_SERVICE
Whether the service is to be published at the global registry.- See Also:
-
SERVICE_AUTOSTART_SERVICES
The name of the property for the (simple) service names to start at startup.- See Also:
-
SERVICE_MULTI_THREAD_SERVICE_START_POOL_SIZE
The name of the property to configure the amount of threads used for multi-threaded service starting.- See Also:
-
EXTENSIONS_DIR
The directory name that should be used for jar outputs (WSDL and Java imports).
This is kind of ugly since it relies on a hierarchical file system and therefore this may be changed in the future.- See Also:
-
-
Constructor Details
-
ConfigurationConstants
public ConfigurationConstants()
-
-
Method Details
-
getConfigurationBundleRoot
The path of the root configuration file within the bundle configuration (JAR-file) which has to be present to identify a bundle as configuration bundle.- Parameters:
subDir- The subdirectory below "conf/" where to look for the root configuration file ("ADEPT2.properties"). This must not benull.- Returns:
- The path to the root configuration file within a bundle configuration to identify the bundle as configuration bundle.
-