Package | Description |
---|---|
org.springframework.core.env |
Spring's environment abstraction consisting of bean definition
profile and hierarchical property source support.
|
org.springframework.core.io.support |
Support classes for Spring's resource abstraction.
|
org.springframework.mock.env |
This package contains mock implementations of the
Environment and
PropertySource
abstractions introduced in Spring 3.1. |
org.springframework.web.context.support |
Classes supporting the
org.springframework.web.context package,
such as WebApplicationContext implementations and various utility classes. |
Modifier and Type | Class and Description |
---|---|
class |
CommandLinePropertySource<T>
Abstract base class for
PropertySource implementations backed by command line
arguments. |
class |
CompositePropertySource
Composite
PropertySource implementation that iterates over a set of
PropertySource instances. |
class |
JOptCommandLinePropertySource
CommandLinePropertySource implementation backed by a JOpt OptionSet . |
class |
MapPropertySource
PropertySource that reads keys and values from a Map object. |
class |
PropertiesPropertySource
PropertySource implementation that extracts properties from a
Properties object. |
class |
SimpleCommandLinePropertySource
CommandLinePropertySource implementation backed by a simple String array. |
class |
SystemEnvironmentPropertySource
Specialization of
MapPropertySource designed for use with
system environment variables. |
Modifier and Type | Class and Description |
---|---|
class |
ResourcePropertySource
Subclass of
PropertiesPropertySource that loads a Properties object
from a given Resource or resource location such as
"classpath:/com/myco/foo.properties" or "file:/path/to/file.xml" . |
Modifier and Type | Class and Description |
---|---|
class |
MockPropertySource
Simple
PropertySource implementation for use in testing. |
Modifier and Type | Class and Description |
---|---|
class |
ServletConfigPropertySource
PropertySource that reads init parameters from a ServletConfig object. |
class |
ServletContextPropertySource
PropertySource that reads init parameters from a ServletContext object. |