@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(java.lang.String contextPath,
java.lang.String configName)
Checks if the whole configuration for the given context path and name is overridden.
|
java.util.Map<java.lang.String,java.lang.Object> |
overrideProperties(java.lang.String contextPath,
java.lang.String configName,
java.util.Map<java.lang.String,java.lang.Object> properties)
Override properties for given context path and configuration name.
|
Resource |
overrideProperties(java.lang.String contextPath,
java.lang.String configName,
Resource configResource)
Deprecated.
Please use
overrideProperties(String, String, Resource, ResourceResolver) instead. |
Resource |
overrideProperties(java.lang.String contextPath,
java.lang.String configName,
Resource configResource,
ResourceResolver resourceResolver)
Override properties in given configuration resource (if any overrides are defined).
|
boolean isAllOverridden(@Nonnull java.lang.String contextPath, @Nonnull java.lang.String configName)
contextPath
- Context pathconfigName
- Config name@CheckForNull java.util.Map<java.lang.String,java.lang.Object> overrideProperties(@Nonnull java.lang.String contextPath, @Nonnull java.lang.String configName, @Nonnull java.util.Map<java.lang.String,java.lang.Object> properties)
contextPath
- Path of context resource for which configuration was resolvedconfigName
- Configuration nameproperties
- Resolved configuration properties@Deprecated @CheckForNull Resource overrideProperties(@Nonnull java.lang.String contextPath, @Nonnull java.lang.String configName, @CheckForNull Resource configResource)
overrideProperties(String, String, Resource, ResourceResolver)
instead.contextPath
- Context pathconfigName
- Configuration nameconfigResource
- Resolved configuration resource@CheckForNull Resource overrideProperties(@Nonnull java.lang.String contextPath, @Nonnull java.lang.String configName, @CheckForNull Resource configResource, @Nonnull ResourceResolver resourceResolver)
contextPath
- Context pathconfigName
- Configuration nameconfigResource
- Resolved configuration resourceresourceResolver
- Resource resolverCopyright © 2018 The Apache Software Foundation. All rights reserved.