Package org.springframework.boot.env
package org.springframework.boot.env
Spring
Environment support.-
ClassDescription
PropertySourcebacked by a directory tree that contains files for each value.Property source options.A value returned from the property source which exposes the contents of the property file.Allows for customization of the application'sEnvironmentprior to the application context being refreshed.SmartApplicationListenerused to triggerEnvironmentPostProcessorsregistered in thespring.factoriesfile.Factory interface used by theEnvironmentPostProcessorApplicationListenerto create theEnvironmentPostProcessorinstances.Strategy to load '.properties' files into aPropertySource.Strategy interface located throughSpringFactoriesLoaderand used to load aPropertySource.PropertySourcethat returns a random value for any property that starts with "random.".EnvironmentPostProcessorto add theRandomValuePropertySource.AnEnvironmentPostProcessorthat parses JSON fromspring.application.jsonor equivalentlySPRING_APPLICATION_JSONand adds it as a map property source to theEnvironment.AnEnvironmentPostProcessorthat replaces the systemEnvironmentSystemEnvironmentPropertySourcewith anSystemEnvironmentPropertySourceEnvironmentPostProcessor.OriginAwareSystemEnvironmentPropertySourcethat can track theSystemEnvironmentOriginfor every system environment property.SystemEnvironmentPropertySourcethat also tracksOrigin.Strategy to load '.yml' (or '.yaml') files into aPropertySource.