Package org.springframework.core.env
Spring's environment abstraction consisting of bean definition profile and hierarchical property source support.
Interface Summary Interface Description ConfigurableEnvironment Configuration interface to be implemented by most if not allEnvironment
types.ConfigurablePropertyResolver Configuration interface to be implemented by most if not allPropertyResolver
types.Environment Interface representing the environment in which the current application is running.EnvironmentCapable Interface indicating a component that contains and exposes anEnvironment
reference.PropertyResolver Interface for resolving properties against any underlying source.PropertySources Holder containing one or morePropertySource
objects.Class Summary Class Description AbstractEnvironment Abstract base class forEnvironment
implementations.AbstractPropertyResolver Abstract base class for resolving properties against any underlying source.CommandLinePropertySource<T> Abstract base class forPropertySource
implementations backed by command line arguments.CompositePropertySource CompositePropertySource
implementation that iterates over a set ofPropertySource
instances.EnumerablePropertySource<T> APropertySource
implementation capable of interrogating its underlying source object to enumerate all possible property name/value pairs.JOptCommandLinePropertySource CommandLinePropertySource
implementation backed by a JOptOptionSet
.MapPropertySource PropertySource
that reads keys and values from aMap
object.MutablePropertySources Default implementation of thePropertySources
interface.PropertiesPropertySource PropertySource
implementation that extracts properties from aProperties
object.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.PropertySourcesPropertyResolver PropertyResolver
implementation that resolves property values against an underlying set ofPropertySources
.SimpleCommandLinePropertySource CommandLinePropertySource
implementation backed by a simple String array.StandardEnvironment Environment
implementation suitable for use in 'standard' (i.e.SystemEnvironmentPropertySource Specialization ofMapPropertySource
designed for use with system environment variables.Exception Summary Exception Description MissingRequiredPropertiesException Exception thrown when required properties are not found.