|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.kuali.common.util.spring.SpringUtils
public class SpringUtils
| Constructor Summary | |
|---|---|
SpringUtils()
|
|
| Method Summary | |
|---|---|
static Properties |
convert(org.springframework.core.env.EnumerablePropertySource<?> source)
Convert an EnumerablePropertySource into a Properties object. |
static List<Properties> |
convertEnumerablePropertySources(List<org.springframework.core.env.PropertySource<?>> sources)
Convert any PropertySources that extend EnumerablePropertySource into Properties object's |
static Properties |
getAllEnumerableProperties(org.springframework.core.env.ConfigurableEnvironment env)
Examine ConfigurableEnvironment for PropertySource's that extend EnumerablePropertySource and aggregate them into a single
Properties object |
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)
Get all PropertySource objects from the environment as a List. |
static void |
reconfigurePropertySources(org.springframework.core.env.ConfigurableEnvironment env,
String name,
Properties properties)
Remove any existing property sources and add one property source backed by the properties passed in |
static void |
removeAllPropertySources(org.springframework.core.env.ConfigurableEnvironment env)
Remove any existing property sources |
static void |
showPropertySources(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 |
|---|
public SpringUtils()
| Method Detail |
|---|
public static void showPropertySources(org.springframework.core.env.ConfigurableEnvironment env)
public static String getProperty(org.springframework.core.env.Environment env,
String key)
public static Properties getAllEnumerableProperties(org.springframework.core.env.ConfigurableEnvironment env)
ConfigurableEnvironment for PropertySource's that extend EnumerablePropertySource and aggregate them into a single
Properties object
public static void reconfigurePropertySources(org.springframework.core.env.ConfigurableEnvironment env,
String name,
Properties properties)
public static void removeAllPropertySources(org.springframework.core.env.ConfigurableEnvironment env)
public static List<org.springframework.core.env.PropertySource<?>> getPropertySources(org.springframework.core.env.ConfigurableEnvironment env)
public static List<Properties> convertEnumerablePropertySources(List<org.springframework.core.env.PropertySource<?>> sources)
public static Properties convert(org.springframework.core.env.EnumerablePropertySource<?> source)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||