Package | Description |
---|---|
org.springframework.beans.support |
Classes supporting the org.springframework.beans package,
such as utility classes for sorting and holding lists of beans.
|
org.springframework.core.env |
Spring's environment abstraction consisting of bean definition
profile and hierarchical property source support.
|
org.springframework.core.io |
Generic abstraction for (file-based) resources, used throughout the framework.
|
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 |
Contains a variant of the application context interface for web applications,
and the ContextLoaderListener that bootstraps a root web application context.
|
org.springframework.web.context.support |
Classes supporting the
org.springframework.web.context package,
such as WebApplicationContext implementations and various utility classes. |
Constructor and Description |
---|
ResourceEditorRegistrar(ResourceLoader resourceLoader,
PropertyResolver propertyResolver)
Create a new ResourceEditorRegistrar for the given
ResourceLoader
and PropertyResolver . |
Modifier and Type | Interface and Description |
---|---|
interface |
ConfigurableEnvironment
Configuration interface to be implemented by most if not all
Environment types. |
interface |
ConfigurablePropertyResolver
Configuration interface to be implemented by most if not all
PropertyResolver
types. |
interface |
Environment
Interface representing the environment in which the current application is running.
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractEnvironment
Abstract base class for
Environment implementations. |
class |
AbstractPropertyResolver
Abstract base class for resolving properties against any underlying source.
|
class |
PropertySourcesPropertyResolver
PropertyResolver implementation that resolves property values against
an underlying set of PropertySources . |
class |
StandardEnvironment
Environment implementation suitable for use in 'standard' (i.e. |
Constructor and Description |
---|
ResourceEditor(ResourceLoader resourceLoader,
PropertyResolver propertyResolver)
Create a new instance of the
ResourceEditor class
using the given ResourceLoader and PropertyResolver . |
ResourceEditor(ResourceLoader resourceLoader,
PropertyResolver propertyResolver,
boolean ignoreUnresolvablePlaceholders)
Create a new instance of the
ResourceEditor class
using the given ResourceLoader . |
Constructor and Description |
---|
ResourceArrayPropertyEditor(ResourcePatternResolver resourcePatternResolver,
PropertyResolver propertyResolver)
Create a new ResourceArrayPropertyEditor with the given
ResourcePatternResolver
and PropertyResolver (typically an Environment ). |
ResourceArrayPropertyEditor(ResourcePatternResolver resourcePatternResolver,
PropertyResolver propertyResolver,
boolean ignoreUnresolvablePlaceholders)
Create a new ResourceArrayPropertyEditor with the given
ResourcePatternResolver
and PropertyResolver (typically an Environment ). |
Modifier and Type | Class and Description |
---|---|
class |
MockEnvironment
Simple
ConfigurableEnvironment implementation exposing
MockEnvironment.setProperty(java.lang.String, java.lang.String) and MockEnvironment.withProperty(java.lang.String, java.lang.String) methods for testing purposes. |
Modifier and Type | Interface and Description |
---|---|
interface |
ConfigurableWebEnvironment
Specialization of
ConfigurableEnvironment allowing initialization of
servlet-related PropertySource objects at the
earliest moment that the ServletContext and (optionally) ServletConfig
become available. |
Modifier and Type | Class and Description |
---|---|
class |
StandardServletEnvironment
Environment implementation to be used by Servlet -based web
applications. |