| Package | Description |
|---|---|
| org.apache.tamaya.spi |
This package contains the Apache Tamaya SPI artifacts.
|
| Modifier and Type | Field | Description |
|---|---|---|
static PropertySource |
PropertySource.EMPTY |
A resusable instance of an empty PropertySource.
|
| Modifier and Type | Method | Description |
|---|---|---|
PropertySource |
ConfigurationContext.getPropertySource(String name) |
Access a
PropertySource using its (unique) name. |
| Modifier and Type | Method | Description |
|---|---|---|
List<PropertySource> |
ConfigurationBuilder.getPropertySources() |
Access the current chain of property sources.
|
List<PropertySource> |
ConfigurationContext.getPropertySources() |
This method returns the current createList of registered
PropertySources ordered via their ordinal. |
Collection<PropertySource> |
PropertySourceProvider.getPropertySources() |
| Modifier and Type | Method | Description |
|---|---|---|
default ConfigurationBuilder |
ConfigurationBuilder.addPropertySources(PropertySource... propertySources) |
This method can be used for adding
PropertySources. |
ConfigurationBuilder |
ConfigurationBuilder.decreasePriority(PropertySource propertySource) |
Decreases the priority of the given property source, by moving it towards the start
of the chain of property sources.
|
ConfigurationBuilder |
ConfigurationBuilder.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.
|
ConfigurationBuilder |
ConfigurationBuilder.increasePriority(PropertySource propertySource) |
Increases the priority of the given property source, by moving it towards the end
of the chain of property sources.
|
ConfigurationBuilder |
ConfigurationBuilder.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.
|
default ConfigurationBuilder |
ConfigurationBuilder.removePropertySources(PropertySource... propertySources) |
Removes the given property sources, if existing.
|
| Modifier and Type | Method | Description |
|---|---|---|
default void |
PropertySource.addChangeListener(BiConsumer<Set<String>,PropertySource> l) |
Add a change listener for this properrty source.
|
ConfigurationBuilder |
ConfigurationBuilder.addPropertySources(Collection<PropertySource> propertySources) |
This method can be used for programmatically adding
PropertySources. |
default void |
PropertySource.removeChangeListener(BiConsumer<Set<String>,PropertySource> l) |
Removes a change listener for this properrty source.
|
ConfigurationBuilder |
ConfigurationBuilder.removePropertySources(Collection<PropertySource> propertySources) |
Removes the given property sources, if existing.
|
ConfigurationBuilder |
ConfigurationBuilder.sortPropertySources(Comparator<PropertySource> comparator) |
Sorts the current registered property sources using the given comparator.
|
Copyright © 2014–2019 Apache Software Foundation. All rights reserved.