public class MutableXmlPropertiesPropertySource extends AbstractMutablePropertySource
PropertySource for .xml properties files.transactions| Constructor and Description |
|---|
MutableXmlPropertiesPropertySource(File propertiesLocation,
int defaultOrdinal)
Creates a new Properties based PropertySource based on the given URL.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
commitInternal(ConfigChangeContext context)
Commit of the changes to the current property source.
|
org.apache.tamaya.spi.PropertyValue |
get(String key) |
String |
getName() |
Map<String,String> |
getProperties() |
commitTransaction, getAddedProperties, getRemovedProperties, isRemovable, isWritable, put, putAll, remove, remove, rollbackTransaction, startTransactiongetDefaultOrdinal, getOrdinal, isScannablepublic MutableXmlPropertiesPropertySource(File propertiesLocation, int defaultOrdinal)
propertiesLocation - the URL encoded location, not null.defaultOrdinal - the default ordinal to be used, when no ordinal is provided with the property
source's properties.public org.apache.tamaya.spi.PropertyValue get(String key)
get in interface org.apache.tamaya.spi.PropertySourceget in class org.apache.tamaya.spisupport.BasePropertySourcepublic String getName()
protected void commitInternal(ConfigChangeContext context)
AbstractMutablePropertySourcecommitInternal in class AbstractMutablePropertySourcecontext - The configuration change to be committed/applied.Copyright © 2014–2016 Apache Software Foundation. All rights reserved.