public class LayeredFileSystemConfig extends Object implements SystemConfig
LayeredFileSystemConfig uses a layered model with the highest priority granted to environment variables, followed by system properties, then user configuration, application configuration, module configurations and then core library default configuration.
LayeredFileSystemConfig also uses a Properties resource to allow runtime override of configured behavior.
Constructor and Description |
---|
LayeredFileSystemConfig()
Build a Layered File System Configuration, using first the environment and an application configuration source,
then drill down into available modules and load each of them in package dependency order.
|
Modifier and Type | Method and Description |
---|---|
org.apache.commons.configuration.CompositeConfiguration |
getMasterConfiguration()
Get the internal System Configuration instance.
|
Properties |
getRuntimeProperties()
The properties file used to hold modified SystemConfiguration values.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
clearProperty, getBooleanProperty, getBooleanProperty, getDoubleProperty, getDoubleProperty, getFloatProperty, getFloatProperty, getIntProperty, getIntProperty, getListProperty, getListProperty, getLongProperty, getLongProperty, getPackageVariableName, getStringProperty, getStringProperty, resetProperty, setProperty
public LayeredFileSystemConfig()
public org.apache.commons.configuration.CompositeConfiguration getMasterConfiguration()
SystemConfig
getMasterConfiguration
in interface SystemConfig
public Properties getRuntimeProperties()
SystemConfig
getRuntimeProperties
in interface SystemConfig
Copyright © 2016–2018 Yahoo! Inc.. All rights reserved.