public class SimplePropertySource extends Object implements org.apache.tamaya.spi.PropertySource
Constructor and Description |
---|
SimplePropertySource(String name,
Map<String,String> properties) |
Modifier and Type | Method and Description |
---|---|
org.apache.tamaya.spi.PropertyValue |
get(String key) |
int |
getDefaultOrdinal() |
String |
getName() |
int |
getOrdinal() |
Map<String,String> |
getProperties() |
boolean |
isScannable() |
String |
toString() |
public int getOrdinal()
getOrdinal
in interface org.apache.tamaya.spi.PropertySource
public int getDefaultOrdinal()
public String getName()
getName
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 © 2015–2016 Apache Software Foundation. All rights reserved.