Uses of Interface
org.springframework.core.env.ConfigurableEnvironment
Packages that use 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.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
Methods in org.springframework.context that return ConfigurableEnvironmentModifier and TypeMethodDescriptionConfigurableApplicationContext.getEnvironment()
Return theEnvironment
for this application context in configurable form, allowing for further customization.Methods in org.springframework.context with parameters of type ConfigurableEnvironmentModifier and TypeMethodDescriptionvoid
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 ConfigurableEnvironmentModifier and TypeMethodDescriptionvoid
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 ConfigurableEnvironmentModifier 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.Methods in org.springframework.context.support with parameters of type ConfigurableEnvironmentModifier 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
Classes in org.springframework.core.env that implement ConfigurableEnvironmentModifier and TypeClassDescriptionclass
Abstract base class forEnvironment
implementations.class
Environment
implementation suitable for use in 'standard' (i.e.Methods in org.springframework.core.env with parameters of type ConfigurableEnvironmentModifier 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
Constructors in org.springframework.core.io.support with parameters of type ConfigurableEnvironmentModifierConstructorDescriptionPropertySourceProcessor
(ConfigurableEnvironment environment, ResourceLoader resourceLoader) -
Uses of ConfigurableEnvironment in org.springframework.mock.env
Classes in org.springframework.mock.env that implement ConfigurableEnvironmentModifier and TypeClassDescriptionclass
SimpleConfigurableEnvironment
implementation exposingMockEnvironment.setProperty(java.lang.String, java.lang.String)
andMockEnvironment.withProperty(java.lang.String, java.lang.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 ConfigurableEnvironmentModifier 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
Subinterfaces of ConfigurableEnvironment in org.springframework.web.contextModifier 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
Classes in org.springframework.web.context.support that implement ConfigurableEnvironmentModifier and TypeClassDescriptionclass
Environment
implementation to be used byServlet
-based web applications.Methods in org.springframework.web.context.support that return ConfigurableEnvironmentModifier 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
Methods in org.springframework.web.servlet that return ConfigurableEnvironmentModifier and TypeMethodDescriptionprotected ConfigurableEnvironment
HttpServletBean.createEnvironment()
Create and return a newStandardServletEnvironment
.HttpServletBean.getEnvironment()
Return theEnvironment
associated with this servlet.