Package com.avanza.astrix.config
Class AbstractDynamicConfigSource
- java.lang.Object
-
- com.avanza.astrix.config.AbstractDynamicConfigSource
-
- All Implemented Interfaces:
ConfigSource,DynamicConfigSource
- Direct Known Subclasses:
MapConfigSource
public abstract class AbstractDynamicConfigSource extends Object implements DynamicConfigSource
Skeleton implementation of aDynamicConfigSource.- Author:
- Elias Lindholm (elilin)
-
-
Constructor Summary
Constructors Constructor Description AbstractDynamicConfigSource()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Stringget(String propertyName)Reads a property from this ConfigSource.-
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.avanza.astrix.config.DynamicConfigSource
get
-
-
-
-
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
-
-