public class PropertiesResolverUtils extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
GLOBAL_PROPERTY |
| Modifier and Type | Method and Description |
|---|---|
static Supplier<Map<String,org.mule.runtime.properties.api.ConfigurationProperty>> |
createGlobalPropertiesSupplier(org.mule.runtime.ast.api.ArtifactAst artifactAst) |
static List<org.mule.runtime.properties.api.ConfigurationPropertiesProvider> |
getConfigurationPropertiesProvidersFromComponents(org.mule.runtime.ast.api.ArtifactAst artifactAst,
org.mule.runtime.properties.api.ResourceProvider externalResourceProvider,
ConfigurationPropertiesResolver localResolver) |
static Map<org.mule.runtime.api.component.ComponentIdentifier,org.mule.runtime.properties.api.ConfigurationPropertiesProviderFactory> |
loadProviderFactories() |
public static final String GLOBAL_PROPERTY
public static Supplier<Map<String,org.mule.runtime.properties.api.ConfigurationProperty>> createGlobalPropertiesSupplier(org.mule.runtime.ast.api.ArtifactAst artifactAst)
artifactAst - the Artifact AST to calculate the global properties fromArtifactAst.public static List<org.mule.runtime.properties.api.ConfigurationPropertiesProvider> getConfigurationPropertiesProvidersFromComponents(org.mule.runtime.ast.api.ArtifactAst artifactAst, org.mule.runtime.properties.api.ResourceProvider externalResourceProvider, ConfigurationPropertiesResolver localResolver)
artifactAst - the ArtifactAst to get the ConfigurationPropertiesProvider from.externalResourceProvider - a ResourceProvider to use to read files when needed for properties resolution.localResolver - A resolver that retrieves properties that are used when resolving parameters of a
ConfigurationPropertiesProvider.ConfigurationPropertiesProvider for Application Properties providers within the
ArtifactAst.public static Map<org.mule.runtime.api.component.ComponentIdentifier,org.mule.runtime.properties.api.ConfigurationPropertiesProviderFactory> loadProviderFactories()
Map with the ConfigurationPropertiesProviderFactory loaded using the ServiceLoader{@link - MuleRuntimeException} if there are more than one factory for the same ComponentIdentifier.Copyright © 2003–2023 MuleSoft, Inc.. All rights reserved.