Class AzureGlobalConfigurationEnvironmentPostProcessor
java.lang.Object
com.azure.spring.cloud.autoconfigure.context.AzureGlobalConfigurationEnvironmentPostProcessor
- All Implemented Interfaces:
org.springframework.boot.env.EnvironmentPostProcessor
,org.springframework.core.Ordered
public class AzureGlobalConfigurationEnvironmentPostProcessor
extends Object
implements org.springframework.boot.env.EnvironmentPostProcessor, org.springframework.core.Ordered
An EnvironmentPostProcessor to convert environment variables predefined by Azure Core and Azure SDKs to Azure Spring
properties, and add a property source for them as well.
-
Field Summary
Fields inherited from interface org.springframework.core.Ordered
HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE
-
Constructor Summary
ConstructorDescriptionConstruct aAzureGlobalConfigurationEnvironmentPostProcessor
instance with default value.AzureGlobalConfigurationEnvironmentPostProcessor
(org.apache.commons.logging.Log logger) Creates a new instance ofAzureGlobalConfigurationEnvironmentPostProcessor
. -
Method Summary
Modifier and TypeMethodDescriptionint
getOrder()
void
postProcessEnvironment
(org.springframework.core.env.ConfigurableEnvironment environment, org.springframework.boot.SpringApplication application)
-
Constructor Details
-
AzureGlobalConfigurationEnvironmentPostProcessor
public AzureGlobalConfigurationEnvironmentPostProcessor(org.apache.commons.logging.Log logger) Creates a new instance ofAzureGlobalConfigurationEnvironmentPostProcessor
.- Parameters:
logger
- The logger used in this class.
-
AzureGlobalConfigurationEnvironmentPostProcessor
public AzureGlobalConfigurationEnvironmentPostProcessor()Construct aAzureGlobalConfigurationEnvironmentPostProcessor
instance with default value.
-
-
Method Details
-
getOrder
public int getOrder()- Specified by:
getOrder
in interfaceorg.springframework.core.Ordered
-
postProcessEnvironment
public void postProcessEnvironment(org.springframework.core.env.ConfigurableEnvironment environment, org.springframework.boot.SpringApplication application) - Specified by:
postProcessEnvironment
in interfaceorg.springframework.boot.env.EnvironmentPostProcessor
-