public class ConfigurationLoader extends Object
ConfigurationProvider
instances, and building a single unified
Configuration
based on Weighted.priority()
Modifier and Type | Field and Description |
---|---|
static org.ocpsoft.logging.Logger |
log |
Constructor and Description |
---|
ConfigurationLoader(Object context) |
Modifier and Type | Method and Description |
---|---|
static <K,T> void |
addListValue(Map<K,List<T>> map,
K key,
T value) |
static ConfigurationLoader |
create(Object context)
Get a new
ConfigurationLoader instance. |
Configuration |
loadConfiguration(Object context)
Load all
ConfigurationProvider instances, sort by Weighted.priority() , and return a
unified, composite Configuration object. |
public ConfigurationLoader(Object context)
public static ConfigurationLoader create(Object context)
ConfigurationLoader
instance.public Configuration loadConfiguration(Object context)
ConfigurationProvider
instances, sort by Weighted.priority()
, and return a
unified, composite Configuration
object.Copyright © 2014 OCPsoft. All Rights Reserved.