@ProviderType
public interface ConfigurationOverrideMultiplexer
ConfigurationOverrideProvider implementations in the container
and consolidates their result based on service ranking.| Modifier and Type | Method and Description |
|---|---|
boolean |
isAllOverridden(String contextPath,
String configName)
Checks if the whole configuration for the given context path and name is overridden.
|
Map<String,Object> |
overrideProperties(String contextPath,
String configName,
Map<String,Object> properties)
Override properties for given context path and configuration name.
|
Resource |
overrideProperties(String contextPath,
String configName,
Resource configResource)
Override properties in given configuration resource (if any overrides are defined).
|
boolean isAllOverridden(@Nonnull
String contextPath,
@Nonnull
String configName)
contextPath - Context pathconfigName - Config name@CheckForNull Map<String,Object> overrideProperties(@Nonnull String contextPath, @Nonnull String configName, @Nonnull Map<String,Object> properties)
contextPath - Path of context resource for which configuration was resolvedconfigName - Configuration nameproperties - Resolved configuration properties@CheckForNull Resource overrideProperties(@Nonnull String contextPath, @Nonnull String configName, @CheckForNull Resource configResource)
contextPath - Context pathconfigName - Configuration nameconfigResource - Resolved configuration resourceCopyright © 2017 The Apache Software Foundation. All rights reserved.