- call(Object, PropertyChangeSet) - Method in class org.apache.tamaya.inject.internal.ConfigChangeCallbackMethod
-
- commit() - Method in interface org.apache.tamaya.inject.DynamicValue
-
Commits a new value that has not been committed yet, make it the new value of the instance.
- commit() - Method in class org.apache.tamaya.inject.internal.DefaultDynamicValue
-
Commits a new value that has not been committed yet, make it the new value of the instance.
- commitAndGet() - Method in interface org.apache.tamaya.inject.DynamicValue
-
Performs a commit, if necessary, and returns the current value.
- commitAndGet() - Method in class org.apache.tamaya.inject.internal.DefaultDynamicValue
-
Performs a commit, if necessary, and returns the current value.
- ConfigChangeCallbackMethod - Class in org.apache.tamaya.inject.internal
-
This class holds a method object that is annotated to be a callback method to be called on configuration
changes.
- ConfigChangeCallbackMethod(Method) - Constructor for class org.apache.tamaya.inject.internal.ConfigChangeCallbackMethod
-
- ConfigTemplateInvocationHandler - Class in org.apache.tamaya.inject.internal
-
Invocation handler that handles request against a configuration template.
- ConfigTemplateInvocationHandler(Class<?>, Configuration) - Constructor for class org.apache.tamaya.inject.internal.ConfigTemplateInvocationHandler
-
Creates a new handler instance.
- ConfigurationInjection - Class in org.apache.tamaya.inject
-
- ConfigurationInjector - Interface in org.apache.tamaya.inject
-
Accessor interface for injection of configuration and configuration templates.
- configure(T) - Method in interface org.apache.tamaya.inject.ConfigurationInjector
-
Configured the current instance and reigsterd necessary listener to forward config change events as
defined by the current annotations in place.
- configure(Object) - Method in class org.apache.tamaya.inject.internal.ConfiguredType
-
Method called to configure an instance.
- configure(T) - Method in class org.apache.tamaya.inject.internal.DefaultConfigurationInjector
-
Configured the current instance and reigsterd necessary listener to forward config change events as
defined by the current annotations in place.
- ConfiguredField - Class in org.apache.tamaya.inject.internal
-
Small class that contains and manages all information anc access to a configured field and a concrete instance current
it (referenced by a weak reference).
- ConfiguredField(Field) - Constructor for class org.apache.tamaya.inject.internal.ConfiguredField
-
Models a configured field and provides mechanisms for injection.
- ConfiguredItemSupplier<T> - Interface in org.apache.tamaya.inject
-
Represents a supplier of results.
- ConfiguredProperty - Annotation Type in org.apache.tamaya.inject
-
Annotation to enable injection current a configured property or define the returned data for
a configuration template method.
- ConfiguredSetterMethod - Class in org.apache.tamaya.inject.internal
-
Small class that contains and manages all information and access to a configured field and a concrete instance current
it (referenced by a weak reference).
- ConfiguredSetterMethod(Method) - Constructor for class org.apache.tamaya.inject.internal.ConfiguredSetterMethod
-
Models a configured field and provides mechanisms for injection.
- ConfiguredType - Annotation Type in org.apache.tamaya.inject
-
Annotation to control injection and resolution current a configured bean.
- ConfiguredType - Class in org.apache.tamaya.inject.internal
-
Structure that contains and manages configuration related things for a configured type registered.
- ConfiguredType(Class) - Constructor for class org.apache.tamaya.inject.internal.ConfiguredType
-
Creates an instance of this class hereby evaluating the config annotations given for later effective
injection (configuration) of instances.
- createConsumer(Object) - Method in class org.apache.tamaya.inject.internal.ConfigChangeCallbackMethod
-
- createTemplate(Class<T>) - Method in interface org.apache.tamaya.inject.ConfigurationInjector
-
Create a template implementting the annotated methods based on current configuration data.
- createTemplate(Class<T>) - Method in class org.apache.tamaya.inject.internal.DefaultConfigurationInjector
-
Create a template implementting the annotated methods based on current configuration data.
- get() - Method in interface org.apache.tamaya.inject.ConfiguredItemSupplier
-
Gets a result.
- get() - Method in interface org.apache.tamaya.inject.DynamicValue
-
If a value is present in this DynamicValue
, returns the value,
otherwise throws ConfigException
.
- get() - Method in class org.apache.tamaya.inject.internal.DefaultDynamicValue
-
If a value is present in this DynamicValue
, returns the value,
otherwise throws ConfigException
.
- getAnnotation(Class<T>, AnnotatedElement...) - Static method in class org.apache.tamaya.inject.internal.Utils
-
Utility method to read out repeatable annotations.
- getAnnotations(AnnotatedElement, Class<T>, Class<R>) - Static method in class org.apache.tamaya.inject.internal.Utils
-
Utility method to read out repeatable annotations.
- getAnnotations(AccessibleObject, Class<T>, Class<R>) - Static method in class org.apache.tamaya.inject.internal.Utils
-
Utility method to read out repeatable annotations.
- getConfigurationInjector() - Static method in class org.apache.tamaya.inject.ConfigurationInjection
-
Get the current injector instance.
- getConfiguredSupplier(ConfiguredItemSupplier<T>) - Method in interface org.apache.tamaya.inject.ConfigurationInjector
-
Creates a supplier for configured instances of the given type T
.
- getConfiguredSupplier(ConfiguredItemSupplier<T>) - Method in class org.apache.tamaya.inject.internal.DefaultConfigurationInjector
-
- getKeysAdded() - Method in class org.apache.tamaya.event.PropertyChangeSet
-
Get the keys added.
- getKeysRemoved() - Method in class org.apache.tamaya.event.PropertyChangeSet
-
Get the keys removed.
- getKeysUpdated() - Method in class org.apache.tamaya.event.PropertyChangeSet
-
Get the updated keys.
- getNewValue() - Method in interface org.apache.tamaya.inject.DynamicValue
-
Access a new value that has not yet been committed.
- getNewValue() - Method in class org.apache.tamaya.inject.internal.DefaultDynamicValue
-
Access a new value that has not yet been committed.
- getPropertySourceName() - Method in class org.apache.tamaya.event.PropertyChangeSet
-
Get the underlying property provider/configuration.
- getTimestamp() - Method in class org.apache.tamaya.event.PropertyChangeSet
-
Get the timestamp of this changeset.
- getType() - Method in class org.apache.tamaya.inject.internal.ConfiguredType
-
- getUpdatePolicy() - Method in interface org.apache.tamaya.inject.DynamicValue
-
- getUpdatePolicy() - Method in class org.apache.tamaya.inject.internal.DefaultDynamicValue
-
Access the UpdatePolicy
used for updating this value.
- ObservesConfigChange - Annotation Type in org.apache.tamaya.event
-
Annotation to annotate a method on a class to be informed on config changes.
- of(PropertySource) - Static method in class org.apache.tamaya.event.PropertyChangeSetBuilder
-
Creates a new instance current this builder.
- of(Field, Configuration) - Static method in class org.apache.tamaya.inject.internal.DefaultDynamicValue
-
- of(Method, Configuration) - Static method in class org.apache.tamaya.inject.internal.DefaultDynamicValue
-
- of() - Static method in class org.apache.tamaya.inject.internal.WeakConfigListenerManager
-
- orElse(T) - Method in interface org.apache.tamaya.inject.DynamicValue
-
Return the value if present, otherwise return other
.
- orElse(T) - Method in class org.apache.tamaya.inject.internal.DefaultDynamicValue
-
Return the value if present, otherwise return other
.
- orElseGet(ConfiguredItemSupplier<? extends T>) - Method in interface org.apache.tamaya.inject.DynamicValue
-
Return the value if present, otherwise invoke other
and return
the result of that invocation.
- orElseGet(ConfiguredItemSupplier<? extends T>) - Method in class org.apache.tamaya.inject.internal.DefaultDynamicValue
-
Return the value if present, otherwise invoke other
and return
the result of that invocation.
- orElseThrow(ConfiguredItemSupplier<? extends X>) - Method in interface org.apache.tamaya.inject.DynamicValue
-
Return the contained value, if present, otherwise throw an exception
to be created by the provided supplier.
- orElseThrow(ConfiguredItemSupplier<? extends X>) - Method in class org.apache.tamaya.inject.internal.DefaultDynamicValue
-
Return the contained value, if present, otherwise throw an exception
to be created by the provided supplier.
- org.apache.tamaya.event - package org.apache.tamaya.event
-
This package provides artifacts to distribute property changes, so instances can observe the changes.
- org.apache.tamaya.inject - package org.apache.tamaya.inject
-
Main SE based injection API.
- org.apache.tamaya.inject.internal - package org.apache.tamaya.inject.internal
-
This package provides default implementation of a purely SE based injection mechanism.