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
EnvironmentPropertySource
public int getOrdinal()
getOrdinal
in interface org.apache.tamaya.spi.PropertySource
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 © 2014–2016 Apache Software Foundation. All rights reserved.