Uses of Interface
org.springframework.core.env.ConfigurableEnvironment
Package
Description
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.
Annotation support for the Application Context, including JSR-250 "common"
annotations, component-scanning, and Java-based metadata for creating
Spring-managed objects.
Classes supporting the org.springframework.context package,
such as abstract base classes for ApplicationContext
implementations and a MessageSource implementation.
Spring's environment abstraction consisting of bean definition
profile and hierarchical property source support.
Support classes for Spring's resource abstraction.
This package contains mock implementations of the
Environment
and
PropertySource
abstractions introduced in Spring 3.1.Support classes for the Spring TestContext Framework.
Contains a variant of the application context interface for web applications,
and the ContextLoaderListener that bootstraps a root web application context.
Classes supporting the
org.springframework.web.context
package,
such as WebApplicationContext implementations and various utility classes.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
Modifier and TypeMethodDescriptionConfigurableApplicationContext.getEnvironment()
Return theEnvironment
for this application context in configurable form, allowing for further customization.Modifier and TypeMethodDescriptionvoid
ConfigurableApplicationContext.setEnvironment
(ConfigurableEnvironment environment) Set theEnvironment
for this application context. -
Uses of ConfigurableEnvironment in org.springframework.context.annotation
Modifier and TypeMethodDescriptionvoid
AnnotationConfigApplicationContext.setEnvironment
(ConfigurableEnvironment environment) Propagate the given customEnvironment
to the underlyingAnnotatedBeanDefinitionReader
andClassPathBeanDefinitionScanner
. -
Uses of ConfigurableEnvironment in org.springframework.context.support
Modifier and TypeMethodDescriptionprotected ConfigurableEnvironment
AbstractApplicationContext.createEnvironment()
Create and return a newStandardEnvironment
.AbstractApplicationContext.getEnvironment()
Return theEnvironment
for this application context in configurable form, allowing for further customization.Modifier and TypeMethodDescriptionvoid
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
Modifier and TypeClassDescriptionclass
Abstract base class forEnvironment
implementations.class
Environment
implementation suitable for use in 'standard' (i.e.Modifier and TypeMethodDescriptionvoid
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.core.io.support
ModifierConstructorDescriptionPropertySourceProcessor
(ConfigurableEnvironment environment, ResourceLoader resourceLoader) -
Uses of ConfigurableEnvironment in org.springframework.mock.env
Modifier and TypeClassDescriptionclass
SimpleConfigurableEnvironment
implementation exposingMockEnvironment.setProperty(String, String)
andMockEnvironment.withProperty(String, String)
methods for testing purposes. -
Uses of ConfigurableEnvironment in org.springframework.test.context.support
Modifier and TypeMethodDescriptionstatic 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
Modifier and TypeInterfaceDescriptioninterface
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
Modifier and TypeClassDescriptionclass
Environment
implementation to be used byServlet
-based web applications.Modifier and TypeMethodDescriptionprotected 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
Modifier and TypeMethodDescriptionprotected ConfigurableEnvironment
HttpServletBean.createEnvironment()
Create and return a newStandardServletEnvironment
.HttpServletBean.getEnvironment()
Return theEnvironment
associated with this servlet.