public interface ChangePropagationPolicy
MutablePropertySource instances, e.g.
MutablePropertySource
instances in order of significance. This means that a key added, updated or removed in each instance, if the key
is writable/removable.| Modifier and Type | Method and Description |
|---|---|
void |
applyChange(Collection<org.apache.tamaya.spi.PropertySource> propertySources,
UUID transactionID,
String key,
String value)
Method being called when a single key/value pair has been added or updated.
|
void |
applyChanges(Collection<org.apache.tamaya.spi.PropertySource> propertySources,
UUID transactionID,
Map<String,String> changes)
Method being called when a multiple key/value pairs are added or updated.
|
void |
applyRemove(Collection<org.apache.tamaya.spi.PropertySource> propertySources,
UUID transactionID,
String... keys)
Method being called when a multiple keys has been removed from the configuration.
|
void applyChanges(Collection<org.apache.tamaya.spi.PropertySource> propertySources, UUID transactionID, Map<String,String> changes)
propertySources - the property sources, including readable property sources of the current configuration,
never null.transactionID - the transaction ID, not null.changes - the key/values being added or updated, not null.void applyChange(Collection<org.apache.tamaya.spi.PropertySource> propertySources, UUID transactionID, String key, String value)
propertySources - the property sources, including readable property sources of the current configuration,
never null.transactionID - the transaction ID, not null.key - the key, not null.value - the value, not null.void applyRemove(Collection<org.apache.tamaya.spi.PropertySource> propertySources, UUID transactionID, String... keys)
propertySources - the property sources, including readable property sources of the current configuration,
never null.transactionID - the transaction ID, not null.keys - the keys being removed, not null.Copyright © 2014–2016 Apache Software Foundation. All rights reserved.