public class SystemPropertiesConfiguration
extends org.apache.commons.configuration.AbstractConfiguration
Configuration
implementation based on the current java system
properties. This implementation differs from SystemConfiguration
because it pulls the system properties live, rather than caching them
when the configuration instance is created. This allows configuration to
change by modifying the system properties.Constructor and Description |
---|
SystemPropertiesConfiguration()
Constructor.
|
Modifier and Type | Method and Description |
---|---|
protected void |
addPropertyDirect(String key,
Object value) |
boolean |
containsKey(String key) |
Iterator<String> |
getKeys() |
Object |
getProperty(String key) |
boolean |
isEmpty() |
addErrorLogListener, addProperty, append, clear, clearProperty, clearPropertyDirect, copy, createInterpolator, getBigDecimal, getBigDecimal, getBigInteger, getBigInteger, getBoolean, getBoolean, getBoolean, getByte, getByte, getByte, getDefaultListDelimiter, getDelimiter, getDouble, getDouble, getDouble, getFloat, getFloat, getFloat, getInt, getInt, getInteger, getInterpolator, getKeys, getList, getList, getListDelimiter, getLogger, getLong, getLong, getLong, getProperties, getProperties, getShort, getShort, getShort, getString, getString, getStringArray, getSubstitutor, interpolate, interpolate, interpolatedConfiguration, interpolateHelper, isDelimiterParsingDisabled, isThrowExceptionOnMissing, resolveContainerStore, setDefaultListDelimiter, setDelimiter, setDelimiterParsingDisabled, setListDelimiter, setLogger, setProperty, setThrowExceptionOnMissing, subset
addConfigurationListener, addErrorListener, clearConfigurationListeners, clearErrorListeners, clone, createErrorEvent, createEvent, fireError, fireEvent, getConfigurationListeners, getErrorListeners, isDetailEvents, removeConfigurationListener, removeErrorListener, setDetailEvents
public SystemPropertiesConfiguration()
Copyright © 2011–2015 JBoss, a division of Red Hat. All rights reserved.