Class 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 Detail

      • SystemPropertiesSetter

        public SystemPropertiesSetter()
    • 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.