Uses of Interface
org.springframework.core.env.ConfigurableEnvironment
Packages that use ConfigurableEnvironment Package Description org.springframework.context This package builds on the beans package to add support for message sources and for the Observer design pattern, and the ability for application objects to obtain resources using a consistent API.org.springframework.context.annotation Annotation support for the Application Context, including JSR-250 "common" annotations, component-scanning, and Java-based metadata for creating Spring-managed objects.org.springframework.context.support Classes supporting the org.springframework.context package, such as abstract base classes for ApplicationContext implementations and a MessageSource implementation.org.springframework.core.env Spring's environment abstraction consisting of bean definition profile and hierarchical property source support.org.springframework.jca.context Integration package that allows for deploying a Spring application context as a JCA 1.7 compliant RAR file.org.springframework.mock.env This package contains mock implementations of theEnvironment
andPropertySource
abstractions introduced in Spring 3.1.org.springframework.test.context.support Support classes for the Spring TestContext Framework.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 theorg.springframework.web.context
package, such as WebApplicationContext implementations and various utility classes.org.springframework.web.servlet Provides servlets that integrate with the application context infrastructure, and the core interfaces and classes for the Spring web MVC framework.Uses of ConfigurableEnvironment in org.springframework.context
Methods in org.springframework.context that return ConfigurableEnvironment Modifier and Type Method Description ConfigurableEnvironment
ConfigurableApplicationContext. getEnvironment()
Return theEnvironment
for this application context in configurable form, allowing for further customization.Methods in org.springframework.context with parameters of type ConfigurableEnvironment Modifier and Type Method Description void
ConfigurableApplicationContext. setEnvironment(ConfigurableEnvironment environment)
Set theEnvironment
for this application context.Uses of ConfigurableEnvironment in org.springframework.context.annotation
Methods in org.springframework.context.annotation with parameters of type ConfigurableEnvironment Modifier and Type Method Description void
AnnotationConfigApplicationContext. setEnvironment(ConfigurableEnvironment environment)
Propagate the given customEnvironment
to the underlyingAnnotatedBeanDefinitionReader
andClassPathBeanDefinitionScanner
.Uses of ConfigurableEnvironment in org.springframework.context.support
Methods in org.springframework.context.support that return ConfigurableEnvironment Modifier and Type Method Description protected ConfigurableEnvironment
AbstractApplicationContext. createEnvironment()
Create and return a newStandardEnvironment
.ConfigurableEnvironment
AbstractApplicationContext. getEnvironment()
Return theEnvironment
for this application context in configurable form, allowing for further customization.Methods in org.springframework.context.support with parameters of type ConfigurableEnvironment Modifier and Type Method Description void
AbstractApplicationContext. setEnvironment(ConfigurableEnvironment environment)
Set theEnvironment
for this application context.void
GenericGroovyApplicationContext. setEnvironment(ConfigurableEnvironment environment)
Delegates the given environment to underlyingGroovyBeanDefinitionReader
.void
GenericXmlApplicationContext. setEnvironment(ConfigurableEnvironment environment)
Delegates the given environment to underlyingXmlBeanDefinitionReader
.Uses of ConfigurableEnvironment in org.springframework.core.env
Classes in org.springframework.core.env that implement ConfigurableEnvironment Modifier and Type Class Description class
AbstractEnvironment
Abstract base class forEnvironment
implementations.class
StandardEnvironment
Environment
implementation suitable for use in 'standard' (i.e.Methods in org.springframework.core.env with parameters of type ConfigurableEnvironment Modifier and Type Method Description void
AbstractEnvironment. merge(ConfigurableEnvironment parent)
void
ConfigurableEnvironment. merge(ConfigurableEnvironment parent)
Append the given parent environment's active profiles, default profiles and property sources to this (child) environment's respective collections of each.Uses of ConfigurableEnvironment in org.springframework.jca.context
Methods in org.springframework.jca.context that return ConfigurableEnvironment Modifier and Type Method Description protected ConfigurableEnvironment
SpringContextResourceAdapter. createEnvironment()
Return a newStandardEnvironment
.Uses of ConfigurableEnvironment in org.springframework.mock.env
Classes in org.springframework.mock.env that implement ConfigurableEnvironment Modifier and Type Class Description class
MockEnvironment
SimpleConfigurableEnvironment
implementation exposingMockEnvironment.setProperty(String, String)
andMockEnvironment.withProperty(String, String)
methods for testing purposes.Uses of ConfigurableEnvironment in org.springframework.test.context.support
Methods in org.springframework.test.context.support with parameters of type ConfigurableEnvironment Modifier and Type Method Description static void
TestPropertySourceUtils. addInlinedPropertiesToEnvironment(ConfigurableEnvironment environment, String... inlinedProperties)
Add the given inlined properties (in the form of key-value pairs) to the suppliedenvironment
.static void
TestPropertySourceUtils. addPropertiesFilesToEnvironment(ConfigurableEnvironment environment, ResourceLoader resourceLoader, String... locations)
Uses of ConfigurableEnvironment in org.springframework.web.context
Subinterfaces of ConfigurableEnvironment in org.springframework.web.context Modifier and Type Interface Description interface
ConfigurableWebEnvironment
Specialization ofConfigurableEnvironment
allowing initialization of servlet-relatedPropertySource
objects at the earliest moment that theServletContext
and (optionally)ServletConfig
become available.Uses of ConfigurableEnvironment in org.springframework.web.context.support
Classes in org.springframework.web.context.support that implement ConfigurableEnvironment Modifier and Type Class Description class
StandardServletEnvironment
Environment
implementation to be used byServlet
-based web applications.Methods in org.springframework.web.context.support that return ConfigurableEnvironment Modifier and Type Method Description protected ConfigurableEnvironment
AbstractRefreshableWebApplicationContext. createEnvironment()
Create and return a newStandardServletEnvironment
.protected ConfigurableEnvironment
GenericWebApplicationContext. createEnvironment()
Create and return a newStandardServletEnvironment
.protected ConfigurableEnvironment
StaticWebApplicationContext. createEnvironment()
Create and return a newStandardServletEnvironment
.Uses of ConfigurableEnvironment in org.springframework.web.servlet
Methods in org.springframework.web.servlet that return ConfigurableEnvironment Modifier and Type Method Description protected ConfigurableEnvironment
HttpServletBean. createEnvironment()
Create and return a newStandardServletEnvironment
.ConfigurableEnvironment
HttpServletBean. getEnvironment()
Return theEnvironment
associated with this servlet.