public final class FrozenPropertySource extends Object implements org.apache.tamaya.spi.PropertySource, Serializable
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
org.apache.tamaya.spi.PropertyValue |
get(String key) |
String |
getName() |
int |
getOrdinal() |
Map<String,String> |
getProperties() |
int |
hashCode() |
boolean |
isScannable() |
static FrozenPropertySource |
of(org.apache.tamaya.spi.PropertySource propertySource)
Creates a new FrozenPropertySource instance based on a PropertySource given.
|
String |
toString() |
public static FrozenPropertySource of(org.apache.tamaya.spi.PropertySource propertySource)
propertySource - the property source to be frozen, not null.public String getName()
getName in interface org.apache.tamaya.spi.PropertySourcepublic int getOrdinal()
getOrdinal in interface org.apache.tamaya.spi.PropertySourcepublic org.apache.tamaya.spi.PropertyValue get(String key)
get in interface org.apache.tamaya.spi.PropertySourcepublic Map<String,String> getProperties()
getProperties in interface org.apache.tamaya.spi.PropertySourcepublic boolean isScannable()
isScannable in interface org.apache.tamaya.spi.PropertySourceCopyright © 2014–2016 Apache Software Foundation. All rights reserved.