- get(String) - Method in class org.apache.tamaya.events.ConfigurationChangeBuilder
-
Get the current values, also considering any changes recorded within this change set.
- get(String) - Method in class org.apache.tamaya.events.FrozenConfiguration
-
- get(String, Class<T>) - Method in class org.apache.tamaya.events.FrozenConfiguration
-
- get(String, TypeLiteral<T>) - Method in class org.apache.tamaya.events.FrozenConfiguration
-
Accesses the current String value for the given key and tries to convert it
using the PropertyConverter
instances provided by the current
ConfigurationContext
.
- get(String) - Method in class org.apache.tamaya.events.FrozenPropertySource
-
- get(String) - Method in class org.apache.tamaya.events.PropertySourceChangeBuilder
-
Get the current values, also considering any changes recorded within this change set.
- getAddedPropertySources() - Method in class org.apache.tamaya.events.ConfigurationContextChange
-
Get the property sources to be added.
- getAddedSize() - Method in class org.apache.tamaya.events.ConfigurationChange
-
Access the number current added entries.
- getAddedSize() - Method in class org.apache.tamaya.events.PropertySourceChange
-
Access the number current added entries.
- getChangeMonitoringPeriod() - Method in class org.apache.tamaya.events.ConfigEventManager
-
Get the current check period to check for configuration changes.
- getChangeMonitoringPeriod() - Method in class org.apache.tamaya.events.internal.DefaultConfigEventManagerSpi
-
- getChangeMonitoringPeriod() - Method in interface org.apache.tamaya.events.spi.ConfigEventManagerSpi
-
Get the current check period to check for configuration changes.
- getChanges() - Method in class org.apache.tamaya.events.ConfigurationChange
-
Get the changes recorded.
- getChanges() - Method in class org.apache.tamaya.events.PropertySourceChange
-
Get the changes recorded.
- getChangeType() - Method in class org.apache.tamaya.events.PropertySourceChange
-
Gets the type of change for this PropertySource.
- getCheckPeriod() - Method in class org.apache.tamaya.events.internal.DefaultConfigChangeObserver
-
- getContext() - Method in class org.apache.tamaya.events.FrozenConfiguration
-
- getListeners(Class<T>) - Static method in class org.apache.tamaya.events.ConfigEventManager
-
Access all registered ConfigEventListeners listening to a given event type.
- getListeners() - Static method in class org.apache.tamaya.events.ConfigEventManager
-
Access all registered ConfigEventListeners listening to a all kind of event types globally.
- getListeners(Class<? extends ConfigEvent>) - Method in class org.apache.tamaya.events.internal.DefaultConfigEventManagerSpi
-
- getListeners() - Method in class org.apache.tamaya.events.internal.DefaultConfigEventManagerSpi
-
- getListeners() - Method in interface org.apache.tamaya.events.spi.ConfigEventManagerSpi
-
Access all globally registered listeners.
- getListeners(Class<? extends ConfigEvent>) - Method in interface org.apache.tamaya.events.spi.ConfigEventManagerSpi
-
Access all listeners listening for a certain event type, including any global listeners.
- getName() - Method in class org.apache.tamaya.events.FrozenPropertySource
-
- getOrDefault(String, String) - Method in class org.apache.tamaya.events.FrozenConfiguration
-
- getOrDefault(String, Class<T>, T) - Method in class org.apache.tamaya.events.FrozenConfiguration
-
- getOrDefault(String, TypeLiteral<T>, T) - Method in class org.apache.tamaya.events.FrozenConfiguration
-
- getOrdinal() - Method in class org.apache.tamaya.events.FrozenPropertySource
-
- getProperties() - Method in class org.apache.tamaya.events.FrozenConfiguration
-
- getProperties() - Method in class org.apache.tamaya.events.FrozenPropertySource
-
- getPropertySourceChanges() - Method in class org.apache.tamaya.events.ConfigurationContextChange
-
Get the changes recorded.
- getPropertySources(Path) - Method in class org.apache.tamaya.events.folderobserver.ObservingPropertySourceProvider
-
Read property sources from the given file.
- getPropertySources() - Method in class org.apache.tamaya.events.folderobserver.ObservingPropertySourceProvider
-
- getPropertySourceUpdates() - Method in class org.apache.tamaya.events.ConfigurationContextChange
-
Get the property source updates.
- getRemovedPropertySources() - Method in class org.apache.tamaya.events.ConfigurationContextChange
-
Get the property sources to be removed.
- getRemovedSize() - Method in class org.apache.tamaya.events.ConfigurationChange
-
Access the number current removed entries.
- getRemovedSize() - Method in class org.apache.tamaya.events.PropertySourceChange
-
Access the number current removed entries.
- getResource() - Method in interface org.apache.tamaya.events.ConfigEvent
-
Get the underlying property provider/configuration.
- getResource() - Method in class org.apache.tamaya.events.ConfigurationChange
-
Get the underlying property provider/configuration.
- getResource() - Method in class org.apache.tamaya.events.ConfigurationContextChange
-
- getResource() - Method in class org.apache.tamaya.events.PropertySourceChange
-
Get the underlying property provider/configuration.
- getResource() - Method in class org.apache.tamaya.events.spi.BaseConfigEvent
-
- getResourceType() - Method in interface org.apache.tamaya.events.ConfigEvent
-
Access the type of resource.
- getResourceType() - Method in class org.apache.tamaya.events.ConfigurationChange
-
- getResourceType() - Method in class org.apache.tamaya.events.ConfigurationContextChange
-
- getResourceType() - Method in class org.apache.tamaya.events.PropertySourceChange
-
- getResourceType() - Method in class org.apache.tamaya.events.spi.BaseConfigEvent
-
- getTimestamp() - Method in interface org.apache.tamaya.events.ConfigEvent
-
Get the timestamp in millis from the current epoch. it is expected that the timestamp and the version are unique to
identify a changeset.
- getTimestamp() - Method in class org.apache.tamaya.events.ConfigurationChange
-
Get the timestamp in millis from the current epoch. it is expected that the timestamp and the version are unique to
identify a changeset.
- getTimestamp() - Method in class org.apache.tamaya.events.ConfigurationContextChange
-
Get the timestamp in millis from the current epoch. it is expected that the timestamp and the version are unique to
identify a changeset.
- getTimestamp() - Method in class org.apache.tamaya.events.PropertySourceChange
-
Get the timestamp in millis from the current epoch. it is expected that the timestamp and the version are unique to
identify a changeset.
- getTimestamp() - Method in class org.apache.tamaya.events.spi.BaseConfigEvent
-
- getUpdatedPropertySources() - Method in class org.apache.tamaya.events.ConfigurationContextChange
-
Get the property sources to be updated.
- getUpdatedSize() - Method in class org.apache.tamaya.events.ConfigurationChange
-
Access the number current updated entries.
- getUpdatedSize() - Method in class org.apache.tamaya.events.PropertySourceChange
-
Access the number current updated entries.
- getVersion() - Method in interface org.apache.tamaya.events.ConfigEvent
-
Get the version relative to the observed resource.
- getVersion() - Method in class org.apache.tamaya.events.ConfigurationChange
-
Get the base version, usable for optimistic locking.
- getVersion() - Method in class org.apache.tamaya.events.ConfigurationContextChange
-
Get the base version, usable for optimistic locking.
- getVersion() - Method in class org.apache.tamaya.events.PropertySourceChange
-
Get the base version, usable for optimistic locking.
- getVersion() - Method in class org.apache.tamaya.events.spi.BaseConfigEvent
-
- isAdded(String) - Method in class org.apache.tamaya.events.ConfigurationChange
-
Checks if the given key was added.
- isAdded(String) - Method in class org.apache.tamaya.events.PropertySourceChange
-
Checks if the given key was added.
- isAffected(PropertySource) - Method in class org.apache.tamaya.events.ConfigurationContextChange
-
Checks if the given propertySource is affected (added, changed or removed).
- isChangeMonitorActive() - Method in class org.apache.tamaya.events.internal.DefaultConfigEventManagerSpi
-
- isChangeMonitorActive() - Method in interface org.apache.tamaya.events.spi.ConfigEventManagerSpi
-
Check if the observer is running currently.
- isChangeMonitoring() - Static method in class org.apache.tamaya.events.ConfigEventManager
-
Check if the observer is running currently.
- isEmpty() - Method in class org.apache.tamaya.events.ConfigurationChange
-
CHecks if the current change set does not contain any changes.
- isEmpty() - Method in class org.apache.tamaya.events.ConfigurationChangeBuilder
-
Checks if the change set is empty, i.e. does not contain any changes.
- isEmpty() - Method in class org.apache.tamaya.events.ConfigurationContextChange
-
CHecks if the current change set does not contain any changes.
- isEmpty() - Method in class org.apache.tamaya.events.ConfigurationContextChangeBuilder
-
Checks if the change set is empty, i.e. does not contain any changes.
- isEmpty() - Method in class org.apache.tamaya.events.PropertySourceChange
-
CHecks if the current change set does not contain any changes.
- isEmpty() - Method in class org.apache.tamaya.events.PropertySourceChangeBuilder
-
Checks if the change set is empty, i.e. does not contain any changes.
- isKeyAffected(String) - Method in class org.apache.tamaya.events.ConfigurationChange
-
Checks if the given key is added, or updated AND NOT removed.
- isKeyAffected(String) - Method in class org.apache.tamaya.events.PropertySourceChange
-
Checks if the given key is added, or updated AND NOT removed.
- isMonitoring() - Method in class org.apache.tamaya.events.internal.DefaultConfigChangeObserver
-
- isRemoved(String) - Method in class org.apache.tamaya.events.ConfigurationChange
-
Checks if the given key was removed.
- isRemoved(String) - Method in class org.apache.tamaya.events.PropertySourceChange
-
Checks if the given key was removed.
- isScannable() - Method in class org.apache.tamaya.events.FrozenPropertySource
-
- isUpdated(String) - Method in class org.apache.tamaya.events.ConfigurationChange
-
Checks if the given key was updated.
- isUpdated(String) - Method in class org.apache.tamaya.events.PropertySourceChange
-
Checks if the given key was updated.
- ObservingPropertySourceProvider - Class in org.apache.tamaya.events.folderobserver
-
This implementation runs in a folder taking up all files compatible with the given
ConfigurationFormats.
- ObservingPropertySourceProvider(Path) - Constructor for class org.apache.tamaya.events.folderobserver.ObservingPropertySourceProvider
-
Constructorm using an explicit directory, ignoring all kind of configuration, if set.
- of() - Static method in class org.apache.tamaya.events.ConfigurationChangeBuilder
-
Creates a new instance current this builder using the current COnfiguration as root resource.
- of(Configuration) - Static method in class org.apache.tamaya.events.ConfigurationChangeBuilder
-
Creates a new instance current this builder.
- of() - Static method in class org.apache.tamaya.events.ConfigurationContextChangeBuilder
-
Just creates a new ConfigurationContextBuilder using the current COnfigurationContext has root resource.
- of(ConfigurationContext) - Static method in class org.apache.tamaya.events.ConfigurationContextChangeBuilder
-
Creates a new instance current this builder.
- of(Configuration) - Static method in class org.apache.tamaya.events.FrozenConfiguration
-
Creates a new FrozenConfiguration instance based on a Configuration given.
- of(PropertySource) - Static method in class org.apache.tamaya.events.FrozenPropertySource
-
Creates a new FrozenPropertySource instance based on a PropertySource given.
- of(PropertySource, ChangeType) - Static method in class org.apache.tamaya.events.PropertySourceChangeBuilder
-
Creates a new instance of this builder.
- ofAdded(PropertySource) - Static method in class org.apache.tamaya.events.PropertySourceChange
-
Create a change event for a new PropertySource that was added.
- ofDeleted(PropertySource) - Static method in class org.apache.tamaya.events.PropertySourceChange
-
Create a change event for a deleted PropertySource.
- onConfigEvent(ConfigEvent<?>) - Method in interface org.apache.tamaya.events.ConfigEventListener
-
Called if an event occurred.
- onConfigEvent(ConfigEvent<?>) - Method in class org.apache.tamaya.events.internal.DefaultConfigurationContextChangeListener
-
- onConfigEvent(ConfigEvent<?>) - Method in class org.apache.tamaya.events.internal.LoggingConfigListener
-
- org.apache.tamaya.events - package org.apache.tamaya.events
-
This package provides the main building blocks for handling configuration changes, such as
ConfigEventManager
,
ConfigEventListener
and
artifacts to describe the changes (delta) of a Configuration or a PropertySource.
- org.apache.tamaya.events.delta - package org.apache.tamaya.events.delta
-
This package contains artifacts to describe the changes (delta) of a
Configuration or a PropertySource.
- org.apache.tamaya.events.folderobserver - package org.apache.tamaya.events.folderobserver
-
This package contains code to observe a folder for file changes and to trigger
corresponding events, that are handled by an according
ObservingPropertySourceProvider
instance.
- org.apache.tamaya.events.internal - package org.apache.tamaya.events.internal
-
This package contains internal default implementations for the config events module.
- org.apache.tamaya.events.spi - package org.apache.tamaya.events.spi
-