public class RiceConfigUtils extends Object
PropertySources
and Rice config files.Constructor and Description |
---|
RiceConfigUtils() |
Modifier and Type | Method and Description |
---|---|
static void |
add(Properties oldProps,
Properties newProps) |
static void |
addAndOverride(Properties oldProps,
Properties newProps) |
static Properties |
getProperties(Config config) |
static Config |
getRootConfig(Properties loaded,
String location,
javax.servlet.ServletContext servletContext) |
static void |
override(Properties oldProps,
Properties newProps) |
static JAXBConfigImpl |
parseAndInit(String location)
Parse the configuration stored at
location AND invoke ConfigContext.init(config) |
static JAXBConfigImpl |
parseConfig(String location)
Parse the configuration stored at
location |
static JAXBConfigImpl |
parseConfig(String location,
Properties properties)
Parse the configuration stored at
location |
static void |
putProperties(Config config,
Properties properties)
Iterate over the list of key/value pairs from
properties and invoke config.putProperty(key,value) |
protected static String |
toLogMsg(String key,
String value) |
public RiceConfigUtils()
public static Config getRootConfig(Properties loaded, String location, javax.servlet.ServletContext servletContext)
public static void putProperties(Config config, Properties properties)
properties
and invoke config.putProperty(key,value)
public static JAXBConfigImpl parseConfig(String location)
location
public static JAXBConfigImpl parseConfig(String location, Properties properties)
location
public static JAXBConfigImpl parseAndInit(String location)
location
AND invoke ConfigContext.init(config)
public static Properties getProperties(Config config)
public static void addAndOverride(Properties oldProps, Properties newProps)
public static void override(Properties oldProps, Properties newProps)
public static void add(Properties oldProps, Properties newProps)
Copyright © 2005–2014 The Kuali Foundation. All rights reserved.