org.kuali.common.util.spring
Class SpringUtils

java.lang.Object
  extended by org.kuali.common.util.spring.SpringUtils

public class SpringUtils
extends Object


Constructor Summary
SpringUtils()
           
 
Method Summary
static Properties getAllProperties(org.springframework.core.env.ConfigurableEnvironment env)
           
static Properties getProperties(org.springframework.core.env.EnumerablePropertySource<?> source)
           
static List<Properties> getPropertiesList(List<org.springframework.core.env.PropertySource<?>> sources)
           
static String getProperty(org.springframework.core.env.Environment env, String key)
          Get a fully resolved property value from the environment.
static List<org.springframework.core.env.PropertySource<?>> getPropertySources(org.springframework.core.env.ConfigurableEnvironment env)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SpringUtils

public SpringUtils()
Method Detail

getProperty

public static String getProperty(org.springframework.core.env.Environment env,
                                 String key)
Get a fully resolved property value from the environment. If the property is not found or contains unresolvable placeholders an exception is thrown.


getAllProperties

public static Properties getAllProperties(org.springframework.core.env.ConfigurableEnvironment env)

getPropertySources

public static List<org.springframework.core.env.PropertySource<?>> getPropertySources(org.springframework.core.env.ConfigurableEnvironment env)

getPropertiesList

public static List<Properties> getPropertiesList(List<org.springframework.core.env.PropertySource<?>> sources)

getProperties

public static Properties getProperties(org.springframework.core.env.EnumerablePropertySource<?> source)


Copyright © 2010-2013 The Kuali Foundation. All Rights Reserved.