Package io.micronaut.context.env
@NullMarked
package io.micronaut.context.env
Classes related to the Micronaut environment.
- Since:
- 1.0
- Author:
- graemerocher
-
ClassDescriptionAn abstract implementation of the
PropertySourceLoaderinterface.An environment that is active for the current execution of the application.Internal marker interface forPropertySourcesLocatorimplementations that supply bootstrap property sources.Allows blocking resolving ofPropertySourcefrom remote distributed configuration servers.A "cached environment" is a performance optimization aimed at minimizing the cost of callingSystem.getenv()orSystem.getProperties().Imports property sources from classpath locations.Typed classpath import declaration.Imports and merges property sources from all matching classpath locations.APropertySourcefor properties parsed from the command line.Resolvesmicronaut.config.importdeclarations and loads the associated property sources.Imports key/value configuration from a config tree directory.Typed config tree import declaration.Models a configuration path such as those declared withinConfigurationPropertiesandEachPropertydeclarations.A segment of configuration.An implementation of thePropertySourceLoaderinterface that provides constant property sources for use in a configuration context.An optimization class which is used to register property sources statically.The defaultPropertyPlaceholderResolver.A segment of placeholder resolution.AnPropertySourcethat is empty when instantiated.The current application environment.A strategy interface for deducing environment names.Defines a contract for deducing a list of package names associated with the current environment.Loads properties from environment variables viaSystem.getenv().Imports inline configuration stored in an environment variable.Typed environment import declaration.Imports property sources from file system locations.Typed file import declaration.Marker interface for property sources that supportmicronaut.config.importdeclaration discovery by iterating their keys.A property source specific for the Kubernetes environment.APropertySourcethat uses a map.Default load that handles Java properties files.A property entry models a configuration property registration within a particularThe property expression resolver.Interface for implementations that resolve placeholders in configuration and annotations.A PropertySource is a location to resolve property values from.The origin of the property source.Property convention.Imports aPropertySourcefor a given provider.Import context information and helper methods.Loads the given property source for the given environment.An interface for beans that are capable of locating aPropertySourceinstance.APropertyResolverthat resolves from one or manyPropertySourceinstances.Interface for classes that read and process properties sources.An interface for beans that are capable of locating aPropertySourceinstance.Loads properties from system properties.