Class PropertiesUtil

java.lang.Object
org.springframework.core.io.support.PropertiesLoaderSupport
org.springframework.beans.factory.config.PropertyResourceConfigurer
org.springframework.beans.factory.config.PlaceholderConfigurerSupport
org.springframework.beans.factory.config.PropertyPlaceholderConfigurer
org.powertac.util.PropertiesUtil
All Implemented Interfaces:
org.springframework.beans.factory.Aware, org.springframework.beans.factory.BeanFactoryAware, org.springframework.beans.factory.BeanNameAware, org.springframework.beans.factory.config.BeanFactoryPostProcessor, org.springframework.core.Ordered, org.springframework.core.PriorityOrdered

public class PropertiesUtil
extends org.springframework.beans.factory.config.PropertyPlaceholderConfigurer
  • Field Summary

    Fields inherited from class org.springframework.beans.factory.config.PropertyPlaceholderConfigurer

    SYSTEM_PROPERTIES_MODE_FALLBACK, SYSTEM_PROPERTIES_MODE_NEVER, SYSTEM_PROPERTIES_MODE_OVERRIDE

    Fields inherited from class org.springframework.beans.factory.config.PlaceholderConfigurerSupport

    DEFAULT_PLACEHOLDER_PREFIX, DEFAULT_PLACEHOLDER_SUFFIX, DEFAULT_VALUE_SEPARATOR, ignoreUnresolvablePlaceholders, nullValue, placeholderPrefix, placeholderSuffix, trimValues, valueSeparator

    Fields inherited from class org.springframework.core.io.support.PropertiesLoaderSupport

    localOverride, localProperties, logger

    Fields inherited from interface org.springframework.core.Ordered

    HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE
  • Constructor Summary

    Constructors 
    Constructor Description
    PropertiesUtil()  
  • Method Summary

    Modifier and Type Method Description
    String getProperty​(String name)  
    String getProperty​(String name, String defaultValue)  
    protected void processProperties​(org.springframework.beans.factory.config.ConfigurableListableBeanFactory beanFactory, Properties props)  

    Methods inherited from class org.springframework.beans.factory.config.PropertyPlaceholderConfigurer

    resolvePlaceholder, resolvePlaceholder, resolveSystemProperty, setSearchSystemEnvironment, setSystemPropertiesMode, setSystemPropertiesModeName

    Methods inherited from class org.springframework.beans.factory.config.PlaceholderConfigurerSupport

    doProcessProperties, setBeanFactory, setBeanName, setIgnoreUnresolvablePlaceholders, setNullValue, setPlaceholderPrefix, setPlaceholderSuffix, setTrimValues, setValueSeparator

    Methods inherited from class org.springframework.beans.factory.config.PropertyResourceConfigurer

    convertProperties, convertProperty, convertPropertyValue, getOrder, postProcessBeanFactory, setOrder

    Methods inherited from class org.springframework.core.io.support.PropertiesLoaderSupport

    loadProperties, mergeProperties, setFileEncoding, setIgnoreResourceNotFound, setLocalOverride, setLocation, setLocations, setProperties, setPropertiesArray, setPropertiesPersister

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

  • Method Details

    • processProperties

      protected void processProperties​(org.springframework.beans.factory.config.ConfigurableListableBeanFactory beanFactory, Properties props) throws org.springframework.beans.BeansException
      Overrides:
      processProperties in class org.springframework.beans.factory.config.PropertyPlaceholderConfigurer
      Throws:
      org.springframework.beans.BeansException
    • getProperty

      public String getProperty​(String name)
    • getProperty

      public String getProperty​(String name, String defaultValue)