Package org.marketcetera.util.spring
Class SystemPropertiesSetter
- java.lang.Object
-
- org.marketcetera.util.spring.SystemPropertiesSetter
-
public class SystemPropertiesSetter extends Object
Sets system properties from a map. Its intended usage is to enable setting of system properties from a Spring configuration file.- Since:
- 0.5.0
- Version:
- $Id: SystemPropertiesSetter.java 16154 2012-07-14 16:34:05Z colin $
- Author:
- tlerios@marketcetera.com
-
-
Constructor Summary
Constructors Constructor Description SystemPropertiesSetter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidsetMap(Map<String,String> map)For each entry in the given map, a system property is set wherein the key of each entry is the property name, and the entry value is the property value.
-
-
-
Method Detail
-
setMap
public void setMap(Map<String,String> map)
For each entry in the given map, a system property is set wherein the key of each entry is the property name, and the entry value is the property value. System properties whose names are not present as entry keys are not affected. A null entry value removes the associated system property.- Parameters:
map- The map.
-
-