| 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 | Interface | Description |
|---|---|---|
interface |
ConfigurationSnapshot |
An immutable configuration snapshot containing the given keys only.
|
| Modifier and Type | Field | Description |
|---|---|---|
static Configuration |
Configuration.EMPTY |
Immutable and reusable, thread-safe implementation of an empty propertySource.
|
| Modifier and Type | Method | Description |
|---|---|---|
static Configuration |
ConfigurationProvider.createConfiguration(ConfigurationContext context) |
Deprecated.
Creates a new configuration instance based on the given context.
|
static Configuration |
Configuration.current() |
Access the configuration instance for the current thread's context classloader.
|
static Configuration |
Configuration.current(ClassLoader classloader) |
Accesses the configuration for a given classloader.
|
static Configuration |
ConfigurationProvider.getConfiguration() |
Deprecated.
Access the current configuration.
|
static Configuration |
ConfigurationProvider.getConfiguration(ClassLoader classLoader) |
Deprecated.
Access the current configuration.
|
default Configuration |
Configuration.map(UnaryOperator<Configuration> operator) |
Extension point for adjusting configuration.
|
Configuration |
ConfigOperator.operate(Configuration config) |
Deprecated.
Creates a new
Configuration based on the given Configuration. |
static Configuration |
Configuration.releaseConfiguration(ClassLoader classloader) |
Releases the configuration associated with the given classloader.
|
default Configuration |
Configuration.with(ConfigOperator operator) |
Deprecated.
|
| Modifier and Type | Method | Description |
|---|---|---|
Configuration |
ConfigOperator.operate(Configuration config) |
Deprecated.
Creates a new
Configuration based on the given Configuration. |
T |
ConfigQuery.query(Configuration config) |
Deprecated.
Creates a result based on the given
Configuration. |
static void |
ConfigurationProvider.setConfiguration(Configuration config) |
Deprecated.
This method allows replacement of the current default
Configuration with a new
instance. |
static void |
ConfigurationProvider.setConfiguration(Configuration config,
ClassLoader classLoader) |
Deprecated.
This method allows replacement of the current default
Configuration with a new
instance. |
static void |
Configuration.setCurrent(Configuration config) |
This method allows replacement of the current default
Configuration with a new
instance. |
static void |
Configuration.setCurrent(Configuration config,
ClassLoader classLoader) |
This method allows replacement of the current default
Configuration with a new
instance. |
| Modifier and Type | Method | Description |
|---|---|---|
default <T> T |
Configuration.adapt(Function<Configuration,T> query) |
Query a configuration.
|
default Configuration |
Configuration.map(UnaryOperator<Configuration> operator) |
Extension point for adjusting configuration.
|
| Modifier and Type | Method | Description |
|---|---|---|
Configuration |
ConfigurationBuilder.build() |
Builds a new
Configuration based on the data in this builder. |
Configuration |
ConfigurationProviderSpi.createConfiguration(ConfigurationContext context) |
Create a
Configuration instance using the given context. |
default Configuration |
ConfigurationProviderSpi.getConfiguration() |
Deprecated.
Use
ConfigurationProviderSpi.getConfiguration(ClassLoader) instead of. |
Configuration |
ConfigurationProviderSpi.getConfiguration(ClassLoader classLoader) |
Access the current
Configuration. |
Configuration |
ConversionContext.getConfiguration() |
Get the configuration, which is targeted.
|
Configuration |
ConfigurationProviderSpi.releaseConfiguration(ClassLoader classloader) |
This method allows to release a
Configuration for a classloader. |
| Modifier and Type | Method | Description |
|---|---|---|
default ConfigurationBuilder |
ConfigurationBuilder.setConfiguration(Configuration config) |
Init this builder instance with the given
Configuration instance. |
void |
ConfigurationProviderSpi.setConfiguration(Configuration config,
ClassLoader classloader) |
This method allows to replace the current
Configuration with a new
instance. |
ConversionContext.Builder |
ConversionContext.Builder.setConfiguration(Configuration configuration) |
Sets the configuration.
|
| Constructor | Description |
|---|---|
Builder(Configuration configuration,
String key,
TypeLiteral<?> targetType) |
Creates a new Builder instance.
|
Copyright © 2014–2019 Apache Software Foundation. All rights reserved.