|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.kuali.rice.xml.ingest.RiceConfigUtils
public class RiceConfigUtils
Utility class to handle PropertySources
and Rice config files.
Constructor Summary | |
---|---|
RiceConfigUtils()
|
Method Summary | |
---|---|
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)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public RiceConfigUtils()
Method Detail |
---|
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)
protected static String toLogMsg(String key, String value)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |