# Package org.springframework.core.env

@NonNullApi @NonNullFields package org.springframework.core.env
Spring's environment abstraction consisting of bean definition profile and hierarchical property source support.

Related Packages
Package
Description
org.springframework.core
Provides basic classes for exception handling and version detection, and other core helpers that are not specific to any part of the framework.
Class
Description
AbstractEnvironment
Abstract base class for `Environment` implementations.
AbstractPropertyResolver
Abstract base class for resolving properties against any underlying source.
CommandLinePropertySource<T>
Abstract base class for `PropertySource` implementations backed by command line arguments.
CompositePropertySource
Composite `PropertySource` implementation that iterates over a set of `PropertySource` instances.
ConfigurableEnvironment
Configuration interface to be implemented by most if not all `Environment` types.
ConfigurablePropertyResolver
Configuration interface to be implemented by most if not all `PropertyResolver` types.
EnumerablePropertySource<T>
A `PropertySource` implementation capable of interrogating its underlying source object to enumerate all possible property name/value pairs.
Environment
Interface representing the environment in which the current application is running.
EnvironmentCapable
Interface indicating a component that contains and exposes an `Environment` reference.
JOptCommandLinePropertySource
Deprecated.
since 6.1 with no plans for a replacement
MapPropertySource
`PropertySource` that reads keys and values from a `Map` object.
MissingRequiredPropertiesException
Exception thrown when required properties are not found.
MutablePropertySources
The default implementation of the `PropertySources` interface.
Profiles
Profile predicate that may be accepted by an `Environment`.
PropertiesPropertySource
`PropertySource` implementation that extracts properties from a `Properties` object.
PropertyResolver
Interface for resolving properties against any underlying source.
PropertySource<T>
Abstract base class representing a source of name/value property pairs.
PropertySource.StubPropertySource
`PropertySource` to be used as a placeholder in cases where an actual property source cannot be eagerly initialized at application context creation time.
PropertySources
Holder containing one or more `PropertySource` objects.
PropertySourcesPropertyResolver
`PropertyResolver` implementation that resolves property values against an underlying set of `PropertySources`.
SimpleCommandLinePropertySource
`CommandLinePropertySource` implementation backed by an instance of `CommandLineArgs`.
StandardEnvironment
`Environment` implementation suitable for use in 'standard' (i.e.
SystemEnvironmentPropertySource
Specialization of `MapPropertySource` designed for use with system environment variables.