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.
-
ClassDescriptionAbstract base class for
Environment
implementations.Abstract base class for resolving properties against any underlying source.Abstract base class forPropertySource
implementations backed by command line arguments.CompositePropertySource
implementation that iterates over a set ofPropertySource
instances.Configuration interface to be implemented by most if not allEnvironment
types.Configuration interface to be implemented by most if not allPropertyResolver
types.APropertySource
implementation capable of interrogating its underlying source object to enumerate all possible property name/value pairs.Interface representing the environment in which the current application is running.Interface indicating a component that contains and exposes anEnvironment
reference.Deprecated.since 6.1 with no plans for a replacementPropertySource
that reads keys and values from aMap
object.Exception thrown when required properties are not found.The default implementation of thePropertySources
interface.Profile predicate that may be accepted by anEnvironment
.PropertySource
implementation that extracts properties from aProperties
object.Interface for resolving properties against any underlying source.Abstract base class representing a source of name/value property pairs.PropertySource
to be used as a placeholder in cases where an actual property source cannot be eagerly initialized at application context creation time.Holder containing one or morePropertySource
objects.PropertyResolver
implementation that resolves property values against an underlying set ofPropertySources
.CommandLinePropertySource
implementation backed by a simple String array.Environment
implementation suitable for use in 'standard' (i.e.Specialization ofMapPropertySource
designed for use with system environment variables.