Package io.micronaut.context.env
Classes related to the Micronaut environment.
- Since:
- 1.0
-
Interface Summary Interface Description ActiveEnvironment An environment that is active for the current execution of the application.BootstrapPropertySourceLocator Allows blocking resolving ofPropertySource
from remote distributed configuration servers.DefaultPropertyPlaceholderResolver.Segment A segment of placeholder resolution.Environment The current application environment.PropertyExpressionResolver The property expression resolver.PropertyPlaceholderResolver Interface for implementations that resolve placeholders in configuration and annotations.PropertySource A PropertySource is a location to resolve property values from.PropertySourceLoader Loads the given property source for the given environment.PropertySourceLocator An interface for beans that are capable of locating aPropertySource
instance.PropertySourceReader Interface for classes that read and process properties sources. -
Class Summary Class Description AbstractPropertySourceLoader An abstract implementation of thePropertySourceLoader
interface.CachedEnvironment A "cached environment" is a performance optimization aimed at minimizing the cost of callingSystem.getenv()
orSystem.getProperties()
.CommandLinePropertySource APropertySource
for properties parsed from the command line.ConstantPropertySources An optimization class which is used to register property sources statically.DefaultEnvironment The default implementation of theEnvironment
interface.DefaultPropertyPlaceholderResolver The defaultPropertyPlaceholderResolver
.EmptyPropertySource AnPropertySource
that is empty when instantiated.EnvironmentPropertySource Loads properties from environment variables viaSystem.getenv()
.KubernetesEnvironmentPropertySource A property source specific for the Kubernetes environment.MapPropertySource APropertySource
that uses a map.PropertiesPropertySourceLoader Default load that handles Java properties files.PropertySourcePropertyResolver APropertyResolver
that resolves from one or manyPropertySource
instances.SystemPropertiesPropertySource Loads properties from system properties. -
Enum Summary Enum Description ComputePlatform PropertySource.PropertyConvention Property convention.PropertySourcePropertyResolver.PropertyCatalog The property catalog to use.