- ChangeSupport - Enum in org.apache.tamaya.spi
-
Enum type that describges the config change capabilities of a property source.
- checkImmutable() - Method in class org.apache.tamaya.spi.PropertyValue
-
- checkPriorityAnnotation(ClassLoader) - Static method in interface org.apache.tamaya.spi.ServiceContext
-
Checks if the
Priority annotation class is on the classpath.
- ClassloaderAware - Interface in org.apache.tamaya.spi
-
This interface models a provider that serves configuration properties that is also dependent on the
target classloader of the current configuration.
- ConfigException - Exception in org.apache.tamaya
-
Exception class (runtime exception) for configuration issues.
- ConfigException(String) - Constructor for exception org.apache.tamaya.ConfigException
-
Creates a new configuration exception.
- ConfigException(String, Throwable) - Constructor for exception org.apache.tamaya.ConfigException
-
Creates a new configuration exception.
- ConfigOperator - Interface in org.apache.tamaya
-
- ConfigQuery<T> - Interface in org.apache.tamaya
-
- Configuration - Interface in org.apache.tamaya
-
A configuration models an aggregated setPropertyValue of current properties, identified by
a unique key, but adds higher level access functions to
a
PropertySource.
- ConfigurationBuilder - Interface in org.apache.tamaya.spi
-
- ConfigurationContext - Interface in org.apache.tamaya.spi
-
Central SPI for programmatically dealing with the setup of the configuration system.
- ConfigurationProvider - Class in org.apache.tamaya
-
- ConfigurationProviderSpi - Interface in org.apache.tamaya.spi
-
SPI that must be implemented to provide the component that manages all
Configuration
instances in a system.
- ConfigurationSnapshot - Interface in org.apache.tamaya
-
An immutable configuration snapshot containing the given keys only.
- ConversionContext - Class in org.apache.tamaya.spi
-
A conversion context containing all the required values for implementing conversion.
- ConversionContext(ConversionContext.Builder) - Constructor for class org.apache.tamaya.spi.ConversionContext
-
Private constructor used from builder.
- ConversionContext.Builder - Class in org.apache.tamaya.spi
-
- convert(String, ConversionContext) - Method in interface org.apache.tamaya.spi.PropertyConverter
-
Convert the given configuration keys from its String representation into the required target type.
- create(Class<T>) - Method in interface org.apache.tamaya.spi.ServiceContext
-
Factory method to createObject a type, hereby a new instance is created on each access.
- create(Class<T>, Supplier<T>) - Method in interface org.apache.tamaya.spi.ServiceContext
-
Factory method to createObject a type, hereby a new instance is created on each access.
- createConfiguration(ConfigurationContext) - Static method in class org.apache.tamaya.ConfigurationProvider
-
Deprecated.
Creates a new configuration instance based on the given context.
- createConfiguration(ConfigurationContext) - Method in interface org.apache.tamaya.spi.ConfigurationProviderSpi
-
- createConfigurationBuilder() - Static method in interface org.apache.tamaya.Configuration
-
Access a new configuration builder initialized with the current thread's context classloader.
- createList() - Static method in class org.apache.tamaya.spi.PropertyValue
-
Creates a new (invisible) root, which is a node with an empty name.
- createList(String) - Static method in class org.apache.tamaya.spi.PropertyValue
-
- createObject() - Static method in class org.apache.tamaya.spi.PropertyValue
-
Creates a new (invisible) root, which is a node with an empty name.
- createObject(String) - Static method in class org.apache.tamaya.spi.PropertyValue
-
- createValue(String, String) - Static method in class org.apache.tamaya.spi.PropertyValue
-
- current() - Static method in interface org.apache.tamaya.Configuration
-
Access the configuration instance for the current thread's context classloader.
- current(ClassLoader) - Static method in interface org.apache.tamaya.Configuration
-
Accesses the configuration for a given classloader.
- get(Iterable<String>) - Method in interface org.apache.tamaya.Configuration
-
Access a property.
- get(Iterable<String>, Class<T>) - Method in interface org.apache.tamaya.Configuration
-
Gets the property keys as type T.
- get(Iterable<String>, TypeLiteral<T>) - Method in interface org.apache.tamaya.Configuration
-
Get the property keys as type T.
- get(String) - Method in interface org.apache.tamaya.Configuration
-
Access a property.
- get(String) - Method in interface org.apache.tamaya.spi.PropertySource
-
Access a property.
- get(String, Class<T>) - Method in interface org.apache.tamaya.Configuration
-
Gets the property keys as type T.
- get(String, TypeLiteral<T>) - Method in interface org.apache.tamaya.Configuration
-
Get the property keys as type T.
- getAllValues() - Method in class org.apache.tamaya.spi.FilterContext
-
Get the property createValue under evaluation.
- getAnnotatedElement() - Method in class org.apache.tamaya.spi.ConversionContext
-
Get the annotated element, if conversion is performed using injection mechanisms.
- getChangeSupport() - Method in interface org.apache.tamaya.spi.PropertySource
-
Get the support for reporting changes to property sources provided by this instance.
- getClassLoader() - Method in interface org.apache.tamaya.spi.ClassloaderAware
-
Get the currently assigned cassloader instance.
- getClassLoader() - Method in interface org.apache.tamaya.spi.ConfigurationBuilder
-
Get the classloader used by this builder.
- getConfigEntries() - Method in class org.apache.tamaya.spi.FilterContext
-
This mapProperties contains the following keys:
the original createValue before any filters were applied on it.
all values starting with an _<key>., for example a.createValue
may have a mapProperties setCurrent with a.createValue (oringinal createValue), _a.createValue.origin,
_a.createValue.type, etc.
- getConfiguration() - Static method in class org.apache.tamaya.ConfigurationProvider
-
Deprecated.
Access the current configuration.
- getConfiguration() - Method in interface org.apache.tamaya.spi.ConfigurationProviderSpi
-
- getConfiguration() - Method in class org.apache.tamaya.spi.ConversionContext
-
Get the configuration, which is targeted.
- getConfiguration(ClassLoader) - Static method in class org.apache.tamaya.ConfigurationProvider
-
Deprecated.
Access the current configuration.
- getConfiguration(ClassLoader) - Method in interface org.apache.tamaya.spi.ConfigurationProviderSpi
-
- getConfigurationBuilder() - Static method in class org.apache.tamaya.ConfigurationProvider
-
Deprecated.
- getConfigurationBuilder() - Method in interface org.apache.tamaya.spi.ConfigurationProviderSpi
-
- getConfigurationContext() - Method in class org.apache.tamaya.spi.ConversionContext
-
- getConfigurationContext() - Method in class org.apache.tamaya.spi.FilterContext
-
Get the current configurationContext.
- getContext() - Method in interface org.apache.tamaya.Configuration
-
Access a configuration's context.
- getDefaultClassLoader() - Static method in class org.apache.tamaya.spi.ServiceContextManager
-
Evaluate the default classloader: This return the current thread context classloader, or this
class's classloader as fallback.
- getDefinedType(Class<?>) - Method in class org.apache.tamaya.TypeLiteral
-
- getGenericInterfaceTypeParameters(Class<?>, Class<?>) - Static method in class org.apache.tamaya.TypeLiteral
-
Checks the current implemented generic interfaces and evaluates the given single type parameter.
- getIndex(PropertyValue) - Method in class org.apache.tamaya.spi.ListValue
-
Get the index of the given member value.
- getKey() - Method in class org.apache.tamaya.spi.ConversionContext
-
Get the key accessed.
- getKey() - Method in class org.apache.tamaya.spi.PropertyValue
-
The requested key.
- getKeys() - Method in interface org.apache.tamaya.ConfigurationSnapshot
-
The requested keys.
- getKeys() - Method in class org.apache.tamaya.spi.ObjectValue
-
Access the current present field names/keys.
- getLists() - Method in class org.apache.tamaya.spi.ListValue
-
- getLists(String) - Method in class org.apache.tamaya.spi.ListValue
-
Get the array elements, filtered by the given name.
- getMeta() - Method in class org.apache.tamaya.spi.ConversionContext
-
Evaluate the metadata for the current target key from the given values.
- getMeta() - Method in class org.apache.tamaya.spi.PropertyValue
-
Creates a full configuration map for this key, createValue pair and all its getMeta context data.
- getMeta(String) - Method in class org.apache.tamaya.spi.PropertyValue
-
Access the given key from this createValue.
- getMetaData(String) - Method in interface org.apache.tamaya.spi.ConfigurationContext
-
Get the metadata evaluated for this configuration.
- getMetaEntry(String) - Method in class org.apache.tamaya.spi.PropertyValue
-
- getName() - Method in interface org.apache.tamaya.spi.PropertySource
-
Get the name of the property source.
- getObjects(String) - Method in class org.apache.tamaya.spi.ListValue
-
Get the array elements, filtered by the given predicate.
- getOptional(Iterable<String>) - Method in interface org.apache.tamaya.Configuration
-
Access a String property, using an an
Optional instance.
- getOptional(Iterable<String>, Class<T>) - Method in interface org.apache.tamaya.Configuration
-
Access a property, using an an
Optional instance.
- getOptional(Iterable<String>, TypeLiteral<T>) - Method in interface org.apache.tamaya.Configuration
-
Access a property, using an an
Optional instance.
- getOptional(String) - Method in interface org.apache.tamaya.Configuration
-
Access a String property, using an an
Optional instance.
- getOptional(String, Class<T>) - Method in interface org.apache.tamaya.Configuration
-
Access a property, using an an
Optional instance.
- getOptional(String, TypeLiteral<T>) - Method in interface org.apache.tamaya.Configuration
-
Access a property, using an an
Optional instance.
- getOrDefault(Iterable<String>, Class<T>, T) - Method in interface org.apache.tamaya.Configuration
-
Gets the property keys as type T.
- getOrDefault(Iterable<String>, String) - Method in interface org.apache.tamaya.Configuration
-
Access a property.
- getOrDefault(Iterable<String>, TypeLiteral<T>, T) - Method in interface org.apache.tamaya.Configuration
-
Get the property keys as type T.
- getOrDefault(String, Class<T>, T) - Method in interface org.apache.tamaya.Configuration
-
Gets the property keys as type T.
- getOrDefault(String, String) - Method in interface org.apache.tamaya.Configuration
-
Access a property.
- getOrDefault(String, TypeLiteral<T>, T) - Method in interface org.apache.tamaya.Configuration
-
Get the property keys as type T.
- getOrdinal() - Method in interface org.apache.tamaya.spi.PropertySource
-
The ordinal value is the default ordering parameter which definines the default order of
auto-discovered property sources.
- getOrSetValue(String, Supplier<T>) - Method in class org.apache.tamaya.spi.ObjectValue
-
Get a single child getValue with the given name, creates it if not existing.
- getParent() - Method in class org.apache.tamaya.spi.PropertyValue
-
Get the value's parent.
- getPriority(Object) - Static method in interface org.apache.tamaya.spi.ServiceContext
-
Checks the given instance for a @Priority annotation.
- getProperties() - Method in interface org.apache.tamaya.Configuration
-
Access all currently known configuration properties as a full Map<String,String>.
- getProperties() - Method in interface org.apache.tamaya.spi.PropertySource
-
Access the current properties as Set.
- getProperty() - Method in class org.apache.tamaya.spi.FilterContext
-
Get the property createValue under evaluation.
- getPropertyConverter() - Method in interface org.apache.tamaya.spi.ConfigurationBuilder
-
Access the current registered property converters.
- getPropertyConverters() - Method in interface org.apache.tamaya.spi.ConfigurationContext
-
- getPropertyConverters(TypeLiteral<T>) - Method in interface org.apache.tamaya.spi.ConfigurationContext
-
- getPropertyFilters() - Method in interface org.apache.tamaya.spi.ConfigurationBuilder
-
Access the current chain of property filters.
- getPropertyFilters() - Method in interface org.apache.tamaya.spi.ConfigurationContext
-
- getPropertySource(String) - Method in interface org.apache.tamaya.spi.ConfigurationContext
-
- getPropertySources() - Method in interface org.apache.tamaya.spi.ConfigurationBuilder
-
Access the current chain of property sources.
- getPropertySources() - Method in interface org.apache.tamaya.spi.ConfigurationContext
-
This method returns the current createList of registered
PropertySources ordered via their ordinal.
- getPropertySources() - Method in interface org.apache.tamaya.spi.PropertySourceProvider
-
- getPropertyValue(int) - Method in class org.apache.tamaya.spi.ListValue
-
Get the n-th element of the children.
- getPropertyValue(String) - Method in class org.apache.tamaya.spi.ObjectValue
-
Get a single child getValue by name.
- getPropertyValues(String) - Method in class org.apache.tamaya.spi.ListValue
-
Get the text elements, filtered by the given name.
- getQualifiedKey() - Method in class org.apache.tamaya.spi.PropertyValue
-
Get a qualified name of a value in property format using '.' as separator, e.g.
- getRawType() - Method in class org.apache.tamaya.TypeLiteral
-
Returns basic raw Java type.
- getResource(String) - Method in interface org.apache.tamaya.spi.ServiceContext
-
Loads a resource from the current runtime context.
- getResources(String) - Method in interface org.apache.tamaya.spi.ServiceContext
-
Loads resources from the current runtime context.
- getService(Class<T>) - Method in interface org.apache.tamaya.spi.ServiceContext
-
Access a service singleton via its type.
- getService(Class<T>, Supplier<T>) - Method in interface org.apache.tamaya.spi.ServiceContext
-
Access a service singleton via its type.
- getServiceContext() - Method in interface org.apache.tamaya.spi.ConfigurationContext
-
- getServiceContext() - Static method in class org.apache.tamaya.spi.ServiceContextManager
-
- getServiceContext(ClassLoader) - Static method in class org.apache.tamaya.spi.ServiceContextManager
-
- getServices(Class<T>) - Method in interface org.apache.tamaya.spi.ServiceContext
-
Access a createList current services, given its type.
- getServices(Class<T>, Supplier<List<T>>) - Method in interface org.apache.tamaya.spi.ServiceContext
-
Access a createList current services, given its type.
- getSize() - Method in class org.apache.tamaya.spi.ListValue
-
Get the createValue's number of elements.
- getSize() - Method in class org.apache.tamaya.spi.ObjectValue
-
Get the value's number of elements.
- getSize() - Method in class org.apache.tamaya.spi.PropertyValue
-
Get the createValue's number of elements.
- getSnapshot(Iterable<String>) - Method in interface org.apache.tamaya.Configuration
-
Create a snapshot, which contains the given keys.
- getSnapshot(String...) - Method in interface org.apache.tamaya.Configuration
-
Create a snapshot, which contains all known keys.
- getSource() - Method in class org.apache.tamaya.spi.PropertyValue
-
- getSupportedFormats() - Method in class org.apache.tamaya.spi.ConversionContext
-
Get the supported/tried formats in precedence order.
- getTargetType() - Method in class org.apache.tamaya.spi.ConversionContext
-
Get the target type required.
- getTimestamp() - Method in interface org.apache.tamaya.ConfigurationSnapshot
-
Get the timestamp, when this snapshot has been taken.
- getType() - Method in class org.apache.tamaya.TypeLiteral
-
- getTypeParameters(Type) - Static method in class org.apache.tamaya.TypeLiteral
-
Method that checks the class's type for a generic interface implementation type.
- getValue() - Method in class org.apache.tamaya.spi.ListValue
-
Get the node's createValue.
- getValue() - Method in class org.apache.tamaya.spi.ObjectValue
-
Get the node's createValue.
- getValue() - Method in class org.apache.tamaya.spi.PropertyValue
-
Get the node's createValue.
- getValue(int) - Method in class org.apache.tamaya.spi.ListValue
-
Get a String value with the given key, if possible.
- getValue(String) - Method in class org.apache.tamaya.spi.ObjectValue
-
Get a String value with the given key, if possible.
- getValues() - Method in class org.apache.tamaya.spi.ConversionContext
-
Get the correspnoding underlying property values matching the given key, in order of significance
(most significant last).
- getValues() - Method in class org.apache.tamaya.spi.ObjectValue
-
Get the fields of this instance.
- getValueType() - Method in class org.apache.tamaya.spi.ListValue
-
Get the item's current createValue type.
- getValueType() - Method in class org.apache.tamaya.spi.ObjectValue
-
Get the item's current value type.
- getValueType() - Method in class org.apache.tamaya.spi.PropertyValue
-
Get the item's current createValue type.
- getVersion() - Method in interface org.apache.tamaya.spi.PropertySource
-
Get the current version.
- getVersion() - Method in class org.apache.tamaya.spi.PropertyValue
-
Get the values version, the version is updated with each change written.
- ServiceContext - Interface in org.apache.tamaya.spi
-
This class models the component that is managing the lifecycle current the
services used by the Configuration API.
- ServiceContextManager - Class in org.apache.tamaya.spi
-
This singleton provides access to the services available in the current
ServiceContext.
- set(ServiceContext) - Static method in class org.apache.tamaya.spi.ServiceContextManager
-
- setAnnotatedElement(AnnotatedElement) - Method in class org.apache.tamaya.spi.ConversionContext.Builder
-
Sets the annotated element, when configuration is injected.
- setClassLoader(ClassLoader) - Method in interface org.apache.tamaya.spi.ConfigurationBuilder
-
Set the classloader to be used for loading of configuration resources, equals to
setServiceContext(ServiceContextManager.getServiceContext(classLoader)).
- setConfiguration(Configuration) - Static method in class org.apache.tamaya.ConfigurationProvider
-
Deprecated.
This method allows replacement of the current default
Configuration with a new
instance.
- setConfiguration(Configuration) - Method in interface org.apache.tamaya.spi.ConfigurationBuilder
-
Init this builder instance with the given
Configuration instance.
- setConfiguration(Configuration) - Method in class org.apache.tamaya.spi.ConversionContext.Builder
-
Sets the configuration.
- setConfiguration(Configuration, ClassLoader) - Static method in class org.apache.tamaya.ConfigurationProvider
-
Deprecated.
This method allows replacement of the current default
Configuration with a new
instance.
- setConfiguration(Configuration, ClassLoader) - Method in interface org.apache.tamaya.spi.ConfigurationProviderSpi
-
This method allows to replace the current
Configuration with a new
instance.
- setContext(ConfigurationContext) - Method in interface org.apache.tamaya.spi.ConfigurationBuilder
-
- setCurrent(Configuration) - Static method in interface org.apache.tamaya.Configuration
-
This method allows replacement of the current default
Configuration with a new
instance.
- setCurrent(Configuration, ClassLoader) - Static method in interface org.apache.tamaya.Configuration
-
This method allows replacement of the current default
Configuration with a new
instance.
- setKey(String) - Method in class org.apache.tamaya.spi.ConversionContext.Builder
-
Sets the key.
- setKey(String) - Method in class org.apache.tamaya.spi.PropertyValue
-
Changes the entry's key, mapping also corresponding context entries.
- setMeta(String, Object) - Method in class org.apache.tamaya.spi.PropertyValue
-
Add an additional context data information.
- setMeta(String, String, String) - Method in interface org.apache.tamaya.spi.ConfigurationBuilder
-
Adds (overrides existing value) the given sources as property sources.
- setMeta(String, Map<String, String>) - Method in interface org.apache.tamaya.spi.ConfigurationBuilder
-
Adds (overrides existing value with same same keys) the given sources as property sources.
- setMeta(Map<String, String>) - Method in class org.apache.tamaya.spi.PropertyValue
-
Replaces/sets the context data.
- setParent(PropertyValue) - Method in class org.apache.tamaya.spi.PropertyValue
-
Sets the new parent, used iternally when converting between value types.
- setPropertyValue(PropertyValue) - Method in class org.apache.tamaya.spi.ObjectValue
-
Adds another existing node, hereby setting the corresponding parent node.
- setServiceContext(ServiceContext) - Method in interface org.apache.tamaya.spi.ConfigurationBuilder
-
Sets the ServiceContext to be used.
- setTargetType(TypeLiteral) - Method in class org.apache.tamaya.spi.ConversionContext.Builder
-
Sets the target type explicitly.
- setToStaticClassLoader(ServiceContext) - Static method in class org.apache.tamaya.spi.ServiceContextManager
-
Replace the current
ServiceContext for the ServiceContextManager's classloader in use.
- setValue(String) - Method in class org.apache.tamaya.spi.ListValue
-
- setValue(String) - Method in class org.apache.tamaya.spi.ObjectValue
-
- setValue(String) - Method in class org.apache.tamaya.spi.PropertyValue
-
Sets the createValue.
- setValue(String, String) - Method in class org.apache.tamaya.spi.ObjectValue
-
Sets the given key, value pair.
- setValues(List<PropertyValue>) - Method in class org.apache.tamaya.spi.ConversionContext.Builder
-
Sets the underlying values evaluated.
- setValues(Map<String, String>) - Method in class org.apache.tamaya.spi.ObjectValue
-
Applies a mapProperties of Map<String,String> to this instance as values.
- setValues(Map<String, String>, String, boolean) - Method in class org.apache.tamaya.spi.ObjectValue
-
Applies a mapProperties of Map<String,String> to this instance as values.
- setValues(PropertyValue...) - Method in class org.apache.tamaya.spi.ConversionContext.Builder
-
Sets the underlying values evaluated.
- setValueWithCompositeKey(String, String) - Method in class org.apache.tamaya.spi.ObjectValue
-
Adds a new child getValue, where the getValue is given in '.'
- setValueWithCompositeKey(Map<String, String>) - Method in class org.apache.tamaya.spi.ObjectValue
-
Adds multiple values, where the keys are given in '.'
- setVersion(int) - Method in class org.apache.tamaya.spi.PropertyValue
-
Sets the new version, used iternally when cloning.
- sortPropertyConverter(Comparator<PropertyConverter>) - Method in interface org.apache.tamaya.spi.ConfigurationBuilder
-
Sorts the current registered property converters using the given comparator.
- sortPropertyFilter(Comparator<PropertyFilter>) - Method in interface org.apache.tamaya.spi.ConfigurationBuilder
-
Sorts the current registered property filters using the given comparator.
- sortPropertySources(Comparator<PropertySource>) - Method in interface org.apache.tamaya.spi.ConfigurationBuilder
-
Sorts the current registered property sources using the given comparator.
- SUPPORTED - org.apache.tamaya.spi.ChangeSupport
-
Config change is supported, this config source supports registering ConfigChangeListeners.