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.PropertySource
public int getOrdinal()
getOrdinal
in interface org.apache.tamaya.spi.PropertySource
public org.apache.tamaya.spi.PropertyValue get(String key)
get
in interface org.apache.tamaya.spi.PropertySource
public Map<String,String> getProperties()
getProperties
in interface org.apache.tamaya.spi.PropertySource
public boolean isScannable()
isScannable
in interface org.apache.tamaya.spi.PropertySource
Copyright © 2014–2016 Apache Software Foundation. All rights reserved.