public class SecureConfigurationPropertiesProvider extends DefaultConfigurationPropertiesProvider implements org.mule.runtime.api.lifecycle.Initialisable, org.mule.runtime.api.lifecycle.Disposable
configurationAttributes, encoding, fileLocation, PROPERTIES_EXTENSION, resourceProvider, UNKNOWN, YAML_EXTENSION| Constructor and Description |
|---|
SecureConfigurationPropertiesProvider(ResourceProvider resourceProvider,
String file,
String algorithm,
String mode) |
| Modifier and Type | Method and Description |
|---|---|
protected String |
createValue(String key,
String value) |
void |
dispose() |
Optional<ConfigurationProperty> |
getConfigurationProperty(String configurationAttributeKey)
Returns the configuration property loaded from the file with the given key.
|
String |
getDescription() |
void |
initialise() |
createAttributesFromYamlObject, createKey, getResourceInputStream, getResourceInputStreamReader, readAttributesFromFilepublic SecureConfigurationPropertiesProvider(ResourceProvider resourceProvider, String file, String algorithm, String mode)
public void initialise()
throws org.mule.runtime.api.lifecycle.InitialisationException
initialise in interface org.mule.runtime.api.lifecycle.Initialisableinitialise in class DefaultConfigurationPropertiesProviderorg.mule.runtime.api.lifecycle.InitialisationExceptionpublic void dispose()
dispose in interface org.mule.runtime.api.lifecycle.Disposablepublic Optional<ConfigurationProperty> getConfigurationProperty(String configurationAttributeKey)
getConfigurationProperty in interface ConfigurationPropertiesProvidergetConfigurationProperty in class DefaultConfigurationPropertiesProviderconfigurationAttributeKey - Optional.empty() otherwise.public String getDescription()
getDescription in interface ConfigurationPropertiesProvidergetDescription in class DefaultConfigurationPropertiesProviderprotected String createValue(String key, String value)
createValue in class DefaultConfigurationPropertiesProviderCopyright © 2003–2021 MuleSoft, Inc.. All rights reserved.