public class DefaultConfigurationPropertiesResolver extends Object implements ConfigurationPropertiesResolver
It will delegate the placeholder resolution to it's parent if it weren't able to resolve a value by itself.
| Modifier and Type | Field and Description |
|---|---|
static String |
PLACEHOLDER_PREFIX |
static String |
PLACEHOLDER_SUFFIX |
| Constructor and Description |
|---|
DefaultConfigurationPropertiesResolver(Optional<ConfigurationPropertiesResolver> parentResolver,
ConfigurationPropertiesProvider configurationPropertiesProvider) |
| Modifier and Type | Method and Description |
|---|---|
Object |
resolvePlaceholderKeyValue(String placeholderKey)
Resolves the possible value of a placeholder key.
|
Object |
resolveValue(String value)
Resolves a value by searching and replacing placeholders on it.
|
public static final String PLACEHOLDER_PREFIX
public static final String PLACEHOLDER_SUFFIX
public DefaultConfigurationPropertiesResolver(Optional<ConfigurationPropertiesResolver> parentResolver, ConfigurationPropertiesProvider configurationPropertiesProvider)
public Object resolveValue(String value)
resolveValue in interface ConfigurationPropertiesResolvervalue - a value that may contain placeholders.public Object resolvePlaceholderKeyValue(String placeholderKey)
resolvePlaceholderKeyValue in interface ConfigurationPropertiesResolverplaceholderKey - the placeholder key which value needs to be resolved.Copyright © 2003–2017 MuleSoft, Inc.. All rights reserved.