Package uk.ac.diamond.daq.configuration
Interface ConfigurationSource
- All Known Subinterfaces:
ModeAwareConfigSource
public interface ConfigurationSource
Anything that can be used as a source of configuration for GDA
-
Method Summary
Modifier and TypeMethodDescriptionProperties that are set as defaults directly in the configuration source.Any properties that should be set directly to System.properties rather than being included with the rest of the GDA properties.
-
Method Details
-
getSpringXml
ConfigurationOptions getSpringXml() -
getProfiles
ConfigurationOptions getProfiles() -
getPropertiesFiles
ConfigurationOptions getPropertiesFiles() -
getLoggingConfiguration
ConfigurationOptions getLoggingConfiguration() -
getProperties
Properties that are set as defaults directly in the configuration source. As these do not need any files to be read to be available, they can be used for variable expansion in the paths returned by propertiesFiles whereas all other paths can use properties read from files as well.- Returns:
- a map of default properties to be available before reading any properties files.
-
systemProperties
Any properties that should be set directly to System.properties rather than being included with the rest of the GDA properties. This is mostly intended for configuring third party libraries.- Returns:
- map of system properties to be set
-