Package de.aristaflow.adept2.base.configuration
package de.aristaflow.adept2.base.configuration
-
ClassDescriptionIn case an
ADEPT2Servicecannot be initialised or started due to a major problem, anAbortServiceExceptionmay be raised.Configuration-related global constants for general use in configuration files.The names for all supported communication protocols (which are equal to the instance names of the corresponding communication services).Classes specified as implementation for a component type may be annotated with aConfigurationDescription.Provides the functionality for the validation ofconfiguration descriptions and configurations.AConfigurationExceptionwill be thrown if an erroneous configuration is discovered.This configuration manager handles configurations for components and services of the AristaFlow-System.This provider extends a normalPropertyProviderto support configuration directories as URLs to load configuration files from, a directory to write configurations changed at runtime to, a directory to write the logs to and boolean flags for whether to load configuration files from bundles (jar-files containing the AristaFlow-components), whether to use debug logging while bootstrapping and whether to keep the registered log handlers.AConfigurationValidatorcan be specified in aConfigurationDescriptionand (if specified) is used to validate a configuration at application startup without having to wait until the component (for which the configuration was intended) is instantiated.This file provides direct access to the global properties of AristaFlow.AnIllegalConfigurationDescriptionExceptionis thrown if there's an inherent error in theConfigurationDescriptionof a component.This class initialises and configures console and file loggers (handler) for the central logging, that is logging based on class names.The definition of a configuration property in aConfigurationDescription.The supported data types forConfiguration exception thrown, if a required property is not set in the configuration.This class provides global properties that are needed for the whole AristaFlow-platform.AServletConfigurationPropertyProviderprovides the means to retrieve global properties and the variables to be substituted from system properties as well as the init parameter of a servlet configuration or of a servlet context.ASystemPropertyProviderprovides the means to retrieve global properties and the variables to be substituted directly from system properties of the JVM.