| Package | Description |
|---|---|
| org.apache.tamaya |
This package contains the Apache Tamaya API.
|
| org.apache.tamaya.spi |
This package contains the Apache Tamaya SPI artifacts.
|
| Modifier and Type | Method | Description |
|---|---|---|
static ConfigurationBuilder |
Configuration.createConfigurationBuilder() |
Access a new configuration builder initialized with the current thread's context classloader.
|
static ConfigurationBuilder |
ConfigurationProvider.getConfigurationBuilder() |
Deprecated.
Create a new
ConfigurationBuilder instance. |
default ConfigurationBuilder |
Configuration.toBuilder() |
Create a new builder using this instance as its base.
|
| Modifier and Type | Method | Description |
|---|---|---|
ConfigurationBuilder |
ConfigurationBuilder.addDefaultPropertyConverters() |
Add all auto-discoverable property converters to the context built.
|
ConfigurationBuilder |
ConfigurationBuilder.addDefaultPropertyFilters() |
Add all auto-discoverable property filters to the context built.
|
ConfigurationBuilder |
ConfigurationBuilder.addDefaultPropertySources() |
Adds all registered (default) property sources to the context built.
|
<T> ConfigurationBuilder |
ConfigurationBuilder.addPropertyConverters(TypeLiteral<T> typeToConvert,
Collection<PropertyConverter<T>> propertyConverters) |
This method can be used for adding
PropertyConverters. |
default <T> ConfigurationBuilder |
ConfigurationBuilder.addPropertyConverters(TypeLiteral<T> typeToConvert,
PropertyConverter<T>... propertyConverters) |
This method can be used for adding
PropertyConverters. |
ConfigurationBuilder |
ConfigurationBuilder.addPropertyFilters(Collection<PropertyFilter> filters) |
Adds the given
PropertyFilter instances, hereby the instances are added
to the end of the createList with highest priority. |
default ConfigurationBuilder |
ConfigurationBuilder.addPropertyFilters(PropertyFilter... filters) |
Adds the given
PropertyFilter instances, hereby the instances are added
to the end of the createList with highest priority. |
ConfigurationBuilder |
ConfigurationBuilder.addPropertySources(Collection<PropertySource> propertySources) |
This method can be used for programmatically adding
PropertySources. |
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 |
ConfigurationProviderSpi.getConfigurationBuilder() |
Creates a new
ConfigurationBuilder instance. |
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.
|
ConfigurationBuilder |
ConfigurationBuilder.removePropertyConverters(TypeLiteral<?> typeToConvert) |
Removes all converters for the given type, which actually renders a given type
unsupported for type conversion.
|
<T> ConfigurationBuilder |
ConfigurationBuilder.removePropertyConverters(TypeLiteral<T> typeToConvert,
Collection<PropertyConverter<T>> propertyConverters) |
Removes the given PropertyConverter instances for the given type,
if existing.
|
default <T> ConfigurationBuilder |
ConfigurationBuilder.removePropertyConverters(TypeLiteral<T> typeToConvert,
PropertyConverter<T>... propertyConverters) |
Removes the given
PropertyConverter instances for the given type,
if existing. |
ConfigurationBuilder |
ConfigurationBuilder.removePropertyFilters(Collection<PropertyFilter> filter) |
Removes the given
PropertyFilter instances, if existing. |
default ConfigurationBuilder |
ConfigurationBuilder.removePropertyFilters(PropertyFilter... filters) |
Removes the given
PropertyFilter instances, if existing. |
ConfigurationBuilder |
ConfigurationBuilder.removePropertySources(Collection<PropertySource> propertySources) |
Removes the given property sources, if existing.
|
default ConfigurationBuilder |
ConfigurationBuilder.removePropertySources(PropertySource... propertySources) |
Removes the given property sources, if existing.
|
ConfigurationBuilder |
ConfigurationBuilder.setClassLoader(ClassLoader classLoader) |
Set the classloader to be used for loading of configuration resources, equals to
setServiceContext(ServiceContextManager.getServiceContext(classLoader)). |
default ConfigurationBuilder |
ConfigurationBuilder.setConfiguration(Configuration config) |
Init this builder instance with the given
Configuration instance. |
ConfigurationBuilder |
ConfigurationBuilder.setContext(ConfigurationContext context) |
Init this builder instance with the given
ConfigurationContext instance. |
ConfigurationBuilder |
ConfigurationBuilder.setMeta(String property,
String key,
String value) |
Adds (overrides existing value) the given sources as property sources.
|
ConfigurationBuilder |
ConfigurationBuilder.setMeta(String property,
Map<String,String> metaData) |
Adds (overrides existing value with same same keys) the given sources as property sources.
|
ConfigurationBuilder |
ConfigurationBuilder.setServiceContext(ServiceContext serviceContext) |
Sets the ServiceContext to be used.
|
ConfigurationBuilder |
ConfigurationBuilder.sortPropertyConverter(Comparator<PropertyConverter> comparator) |
Sorts the current registered property converters using the given comparator.
|
ConfigurationBuilder |
ConfigurationBuilder.sortPropertyFilter(Comparator<PropertyFilter> comparator) |
Sorts the current registered property filters using the given comparator.
|
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.