public class ConsulPropertySource
extends org.apache.tamaya.mutableconfig.propertysources.AbstractMutablePropertySource
consul.prefix as system property maps the consul based onfiguration
to this prefix namespace. Consul servers are configured as consul.urls system or environment property.| Constructor and Description |
|---|
ConsulPropertySource() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
commitInternal(org.apache.tamaya.mutableconfig.propertysources.ConfigChangeContext context) |
org.apache.tamaya.spi.PropertyValue |
get(String key) |
int |
getDefaultOrdinal()
Returns the default ordinal used, when no ordinal is set, or the ordinal was not parseable to an int value.
|
String |
getName() |
int |
getOrdinal() |
Map<String,String> |
getProperties() |
boolean |
isScannable() |
public int getOrdinal()
getOrdinal in interface org.apache.tamaya.spi.PropertySourcegetOrdinal in class org.apache.tamaya.spisupport.BasePropertySourcepublic int getDefaultOrdinal()
getDefaultOrdinal in class org.apache.tamaya.spisupport.BasePropertySourcepublic String getName()
public org.apache.tamaya.spi.PropertyValue get(String key)
get in interface org.apache.tamaya.spi.PropertySourceget in class org.apache.tamaya.spisupport.BasePropertySourcepublic boolean isScannable()
isScannable in interface org.apache.tamaya.spi.PropertySourceisScannable in class org.apache.tamaya.spisupport.BasePropertySourceprotected void commitInternal(org.apache.tamaya.mutableconfig.propertysources.ConfigChangeContext context)
commitInternal in class org.apache.tamaya.mutableconfig.propertysources.AbstractMutablePropertySourceCopyright © 2014–2016 Apache Software Foundation. All rights reserved.