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 ofPropertySourcefrom 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 aPropertySourceinstance.PropertySourceReader Interface for classes that read and process properties sources. -
Class Summary Class Description AbstractPropertySourceLoader An abstract implementation of thePropertySourceLoaderinterface.CachedEnvironment A "cached environment" is a performance optimization aimed at minimizing the cost of callingSystem.getenv()orSystem.getProperties().CommandLinePropertySource APropertySourcefor properties parsed from the command line.ConstantPropertySources An optimization class which is used to register property sources statically.DefaultEnvironment The default implementation of theEnvironmentinterface.DefaultPropertyPlaceholderResolver The defaultPropertyPlaceholderResolver.EmptyPropertySource AnPropertySourcethat is empty when instantiated.EnvironmentPropertySource Loads properties from environment variables viaSystem.getenv().KubernetesEnvironmentPropertySource A property source specific for the Kubernetes environment.MapPropertySource APropertySourcethat uses a map.PropertiesPropertySourceLoader Default load that handles Java properties files.PropertySourcePropertyResolver APropertyResolverthat resolves from one or manyPropertySourceinstances.SystemPropertiesPropertySource Loads properties from system properties. -
Enum Summary Enum Description ComputePlatform PropertySource.PropertyConvention Property convention.PropertySourcePropertyResolver.PropertyCatalog The property catalog to use.