Class ConfigurationConstants

java.lang.Object
de.aristaflow.adept2.base.configuration.ConfigurationConstants

public final class ConfigurationConstants extends Object
Configuration-related global constants for general use in configuration files.
  • Field Details

    • CLASS_PATH_SEPARATOR

      public static final String CLASS_PATH_SEPARATOR
      The separator for multi-valued class paths. File.pathSeparator cannot 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

      public static final String CONFIG_FILE_EXTENSION
      The file extension used for all configuration files
      See Also:
    • SYS_PROP_PRODUCT_NAME

      public static final String 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 usually org.eclipse.core.runtime.Platform.getProduct().getName().
      See Also:
    • SYS_PROP_PRODUCT_NAME_DIRECTORY

      public static final String SYS_PROP_PRODUCT_NAME_DIRECTORY
      The key of the system property with the SYS_PROP_PRODUCT_NAME for usage as directory. This will not be set for Eclipse applications. Usually eclipse.home.location or osgi.install.areamay be a good alternatives.
      See Also:
    • PRODUCT_PROP_NAME_DIRECTORY

      public static final String PRODUCT_PROP_NAME_DIRECTORY
      The key of the product property providing a stable and locale-independent short name to be used as the directory name (e. g. processtemplateeditor). It is set as the value of SYS_PROP_PRODUCT_NAME_DIRECTORY. Every product run through AristaFlowApplication must 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

      public static final String CONFIG_FILE_BOOT
      The configuration file for booting and initialising bootstrap configuration manager, logging, and registry.
      See Also:
    • CONFIG_DIRECTORY

      public static final String CONFIG_DIRECTORY
      The name of the directory where usually all configurations are stored.
      See Also:
    • CONFIG_PROVIDED_POSITION

      public static final String CONFIG_PROVIDED_POSITION
      The string identifying the position in the configuration directories/URLs where to apply a provided configuration.
      See Also:
    • PROPERTY_CLUSTER_NAME

      public static final String PROPERTY_CLUSTER_NAME
      The property name for the cluster name of a server or client.
      See Also:
    • PROPERTY_FOREIGN_CLUSTERS_LAST_UPDATE_SECONDS

      public static final String 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

      public static final String 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

      public static final String PROPERTY_INSTANCE_NAME
      The property name for the instance name of a server or client.
      See Also:
    • PROPERTY_URI

      public static final String PROPERTY_URI
      The property name for the (symbolic) URI of a server or client.
      See Also:
    • CONFIG_TERMINATION_THREAD_DUMP_INTERVAL_SECONDS

      public static final String 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

      public static final String CONFIG_TERMINATION_SYSTEM_EXIT_SECONDS
      The property name for performing a System.exit() if termination does not succeed.
      See Also:
    • PROPERTY_CONFIGURATION_FILE

      public static final String PROPERTY_CONFIGURATION_FILE
      The property name for separate configuration files.
      See Also:
    • PROPERTY_CONFIGURATION_RUNTIME_PREFIX

      public static final String PROPERTY_CONFIGURATION_RUNTIME_PREFIX
      The prefix for runtime configuration files/directories or data sources.
      See Also:
    • PROPERTY_CONFIGURATION_RUNTIME_FILE

      public static final String PROPERTY_CONFIGURATION_RUNTIME_FILE
      The property name for runtime configuration files/directories.
      See Also:
    • PROPERTY_CONFIGURATION_RUNTIME_DATA_SOURCE

      public static final String PROPERTY_CONFIGURATION_RUNTIME_DATA_SOURCE
      The property name for runtime configuration files/directories.
      See Also:
    • PROPERTY_REGISTRY_IMPLEMENTATION

      public static final String PROPERTY_REGISTRY_IMPLEMENTATION
      The property name for the implementing class of a component type.
      See Also:
    • PROPERTY_REGISTRY_INSTANTIATION_MODE

      public static final String PROPERTY_REGISTRY_INSTANTIATION_MODE
      The property name for the instantiation mode for a component instance.
      See Also:
    • PROPERTY_REGISTRY_CLASSPATH

      public static final String PROPERTY_REGISTRY_CLASSPATH
      The property name for the classpath of a specific component/plugin instance.
      See Also:
    • PROPERTY_REGISTRY_PLUGIN_TYPES

      public static final String PROPERTY_REGISTRY_PLUGIN_TYPES
      The property name for the plugin types an instance can use.
      See Also:
    • PROPERTY_REGISTRY_PLUGIN_CLASSPATH

      public static final String 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

      public static final String PROPERTY_REGISTRY_SERVICE_URI
      The property name for the service URI of a component instance.
      See Also:
    • COMPONENT_TYPE_CONSOLE_LOGGER

      public static final String COMPONENT_TYPE_CONSOLE_LOGGER
      The name of the component type for console logging.
      See Also:
    • COMPONENT_TYPE_FILE_LOGGER

      public static final String COMPONENT_TYPE_FILE_LOGGER
      The name of the component type for file logging.
      See Also:
    • PREFIX_PROPERTY_REGISTRY_TYPES

      public static final String PREFIX_PROPERTY_REGISTRY_TYPES
      The prefix for the component types managed by a registry.
      See Also:
    • PREFIX_PROPERTY_REGISTRY_INSTANCES

      public static final String PREFIX_PROPERTY_REGISTRY_INSTANCES
      The prefix for declaring component instances managed by a registry.
      See Also:
    • PREFIX_PROPERTY_LOGGING

      public static final String PREFIX_PROPERTY_LOGGING
      The prefix for the logging configuration.
      See Also:
    • LOGGER_CONFIGURATION_LEVEL

      public static final String LOGGER_CONFIGURATION_LEVEL
      The configuration key for the level of a logger or a filter.
      See Also:
    • LOGGER_CONFIGURATION_ROOT

      public static final String LOGGER_CONFIGURATION_ROOT
      The configuration key for the root of a logger or a filter.
      See Also:
    • LOGGER_CONFIGURATION_LOG_DIRECTORY

      public static final String LOGGER_CONFIGURATION_LOG_DIRECTORY
      The configuration key for the directory of a file logger.
      See Also:
    • LOGGER_CONFIGURATION_LOG_EXTENSION

      public static final String LOGGER_CONFIGURATION_LOG_EXTENSION
      The file extension for file logs.
      See Also:
    • LOGGER_CONFIGURATION_FILE_SIZE

      public static final String LOGGER_CONFIGURATION_FILE_SIZE
      The configuration key for size of a log file.
      See Also:
    • LOGGER_CONFIGURATION_FILE_COUNT

      public static final String LOGGER_CONFIGURATION_FILE_COUNT
      The configuration key for the amount of log files.
      See Also:
    • LOGGER_CONFIGURATION_CSV_MODE

      public static final String LOGGER_CONFIGURATION_CSV_MODE
      The configuration key for the CSV mode of a file logger.
      See Also:
    • LOGGER_CONFIGURATION_FILTER

      public static final String LOGGER_CONFIGURATION_FILTER
      The configuration key for the filter of a logger.
      See Also:
    • LOGGER_CONFIGURATION_CLASSES

      public static final String LOGGER_CONFIGURATION_CLASSES
      The configuration key for the classes of a filter of a logger.
      See Also:
    • CONFIG_CONFIGURATION_MANAGER

      public static final String CONFIG_CONFIGURATION_MANAGER
      The prefix for the configuration of the configuration manager.
      See Also:
    • CONFIG_PREFIX_RESOLVED_VARIABLES

      public static final String 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

      public static final String 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

      public static final String CONFIGURATION_RUNTIME_DB_TABLE_PREFIX
      The prefix for the table names for runtime configuration tables.
      See Also:
    • CONFIGURATION_RUNTIME_DB_COLUMN_KEY

      public static final String CONFIGURATION_RUNTIME_DB_COLUMN_KEY
      The column name for keys of runtime configuration tables.
      See Also:
    • CONFIGURATION_RUNTIME_DB_COLUMN_VALUE

      public static final String CONFIGURATION_RUNTIME_DB_COLUMN_VALUE
      The column name for values of runtime configuration tables.
      See Also:
    • SERVICE_EXPORT_VIA

      public static final String SERVICE_EXPORT_VIA
      The simple instance names, a service will be exported with.
      See Also:
    • SERVICE_PUBLISH_SERVICE

      public static final String SERVICE_PUBLISH_SERVICE
      Whether the service is to be published at the global registry.
      See Also:
    • SERVICE_AUTOSTART_SERVICES

      public static final String 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

      public static final String 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

      public static final String 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

      public static String getConfigurationBundleRoot(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.
      Parameters:
      subDir - The subdirectory below "conf/" where to look for the root configuration file ("ADEPT2.properties"). This must not be null.
      Returns:
      The path to the root configuration file within a bundle configuration to identify the bundle as configuration bundle.