public class EnvironmentPropertySource extends Object implements org.apache.tamaya.spi.PropertySource
PropertySource provides all Properties which are set
via
export myprop=myval on UNIX Systems or
set myprop=myval on Windows. You can disable this feature by setting tamaya.envprops.disable
or tamaya.defaults.disable.| Modifier and Type | Field and Description |
|---|---|
static int |
DEFAULT_ORDINAL
default ordinal for
EnvironmentPropertySource |
| Constructor and Description |
|---|
EnvironmentPropertySource() |
| Modifier and Type | Method and Description |
|---|---|
org.apache.tamaya.spi.PropertyValue |
get(String key) |
String |
getName() |
int |
getOrdinal() |
Map<String,String> |
getProperties() |
boolean |
isScannable() |
public static final int DEFAULT_ORDINAL
EnvironmentPropertySourcepublic int getOrdinal()
getOrdinal in interface org.apache.tamaya.spi.PropertySourcepublic String getName()
getName 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.