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.
-
-
Constructor Summary
Constructors Constructor Description AzureGlobalConfigurationEnvironmentPostProcessor()Construct aAzureGlobalConfigurationEnvironmentPostProcessorinstance with default value.AzureGlobalConfigurationEnvironmentPostProcessor(org.apache.commons.logging.Log logger)Creates a new instance ofAzureGlobalConfigurationEnvironmentPostProcessor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetOrder()voidpostProcessEnvironment(org.springframework.core.env.ConfigurableEnvironment environment, org.springframework.boot.SpringApplication application)
-
-
-
Constructor Detail
-
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 aAzureGlobalConfigurationEnvironmentPostProcessorinstance with default value.
-
-
Method Detail
-
getOrder
public int getOrder()
- Specified by:
getOrderin interfaceorg.springframework.core.Ordered
-
postProcessEnvironment
public void postProcessEnvironment(org.springframework.core.env.ConfigurableEnvironment environment, org.springframework.boot.SpringApplication application)- Specified by:
postProcessEnvironmentin interfaceorg.springframework.boot.env.EnvironmentPostProcessor
-
-