Package com.avanza.astrix.config
Class SystemPropertiesConfigSource
- java.lang.Object
-
- com.avanza.astrix.config.SystemPropertiesConfigSource
-
- All Implemented Interfaces:
ConfigSource
public class SystemPropertiesConfigSource extends Object implements ConfigSource
AConfigSourcethat resolves a property by reading system properties.- Author:
- Elias Lindholm (elilin)
-
-
Constructor Summary
Constructors Constructor Description SystemPropertiesConfigSource()
-
-
-
Method Detail
-
get
public String get(String propertyName)
Description copied from interface:ConfigSourceReads a property from this ConfigSource.- Specified by:
getin interfaceConfigSource- Parameters:
propertyName- - The name of the property to read- Returns:
- The value of the given property, or null if this ConfigSource does not contain a value for the given property
-
-