| Package | Description |
|---|---|
| org.apache.tamaya.spi |
| Modifier and Type | Field and Description |
|---|---|
static PropertySource |
PropertySource.EMPTY
A resusable instance of an empty PropertySource.
|
| Modifier and Type | Method and Description |
|---|---|
PropertySource |
ConfigurationContext.getPropertySource(String name)
Access a
PropertySource using its (unique) name. |
| Modifier and Type | Method and Description |
|---|---|
Collection<PropertySource> |
PropertySourceProvider.getPropertySources() |
List<PropertySource> |
ConfigurationContextBuilder.getPropertySources()
Access the current chain of property sources.
|
List<PropertySource> |
ConfigurationContext.getPropertySources()
This method returns the current list of registered PropertySources ordered via their ordinal.
|
| Modifier and Type | Method and Description |
|---|---|
ConfigurationContextBuilder |
ConfigurationContextBuilder.addPropertySources(PropertySource... propertySources)
This method can be used for adding
PropertySources. |
void |
ConfigurationContext.addPropertySources(PropertySource... propertySources)
Deprecated.
Use
ConfigurationContextBuilder to create a new ConfigurationContext. |
PropertyValue |
PropertyValueCombinationPolicy.collect(PropertyValue currentValue,
String key,
PropertySource propertySource)
Method that is called for each value evaluated by a PropertySource for the given key.
|
ConfigurationContextBuilder |
ConfigurationContextBuilder.decreasePriority(PropertySource propertySource)
Decreases the priority of the given property source, by moving it towards the start
of the chain of property sources.
|
ConfigurationContextBuilder |
ConfigurationContextBuilder.highestPriority(PropertySource propertySource)
Increases the priority of the given property source to be maximal, by moving it to
the tail of the of property source chain.
|
ConfigurationContextBuilder |
ConfigurationContextBuilder.increasePriority(PropertySource propertySource)
Increases the priority of the given property source, by moving it towards the end
of the chain of property sources.
|
ConfigurationContextBuilder |
ConfigurationContextBuilder.lowestPriority(PropertySource propertySource)
Decreases the priority of the given property source to be minimal, by moving it to
the start of the chain of property source chain.
|
ConfigurationContextBuilder |
ConfigurationContextBuilder.removePropertySources(PropertySource... propertySources)
Removes the given property sources, if existing.
|
| Modifier and Type | Method and Description |
|---|---|
ConfigurationContextBuilder |
ConfigurationContextBuilder.addPropertySources(Collection<PropertySource> propertySources)
This method can be used for programmatically adding
PropertySources. |
ConfigurationContextBuilder |
ConfigurationContextBuilder.removePropertySources(Collection<PropertySource> propertySources)
Removes the given property sources, if existing.
|
ConfigurationContextBuilder |
ConfigurationContextBuilder.sortPropertySources(Comparator<PropertySource> comparator)
Sorts the current registered property sources using the given comparator.
|
Copyright © 2014–2017 Apache Software Foundation. All rights reserved.