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. |
Modifier and Type | Class and Description |
---|---|
class |
PropertiesPropertySource
PropertySource implementation that extracts properties from a
Properties object. |
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. |