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.
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
Methods in org.springframework.context that return ConfigurableEnvironmentModifier and TypeMethodDescriptionConfigurableApplicationContext.getEnvironment()Return theEnvironmentfor this application context in configurable form, allowing for further customization.Methods in org.springframework.context with parameters of type ConfigurableEnvironmentModifier and TypeMethodDescriptionvoidConfigurableApplicationContext.setEnvironment(ConfigurableEnvironment environment) Set theEnvironmentfor this application context. -
Uses of ConfigurableEnvironment in org.springframework.context.annotation
Methods in org.springframework.context.annotation with parameters of type ConfigurableEnvironmentModifier and TypeMethodDescriptionvoidAnnotationConfigApplicationContext.setEnvironment(ConfigurableEnvironment environment) Propagate the given customEnvironmentto the underlyingAnnotatedBeanDefinitionReaderandClassPathBeanDefinitionScanner. -
Uses of ConfigurableEnvironment in org.springframework.context.support
Methods in org.springframework.context.support that return ConfigurableEnvironmentModifier and TypeMethodDescriptionprotected ConfigurableEnvironmentAbstractApplicationContext.createEnvironment()Create and return a newStandardEnvironment.AbstractApplicationContext.getEnvironment()Return theEnvironmentfor this application context in configurable form, allowing for further customization.Methods in org.springframework.context.support with parameters of type ConfigurableEnvironmentModifier and TypeMethodDescriptionvoidAbstractApplicationContext.setEnvironment(ConfigurableEnvironment environment) Set theEnvironmentfor this application context.voidGenericGroovyApplicationContext.setEnvironment(ConfigurableEnvironment environment) Delegates the given environment to underlyingGroovyBeanDefinitionReader.voidGenericXmlApplicationContext.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 TypeClassDescriptionclassAbstract base class forEnvironmentimplementations.classEnvironmentimplementation suitable for use in 'standard' (i.e.Methods in org.springframework.core.env with parameters of type ConfigurableEnvironmentModifier and TypeMethodDescriptionvoidAbstractEnvironment.merge(ConfigurableEnvironment parent) voidConfigurableEnvironment.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.mock.env
Classes in org.springframework.mock.env that implement ConfigurableEnvironmentModifier and TypeClassDescriptionclassSimpleConfigurableEnvironmentimplementation 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 ConfigurableEnvironmentModifier and TypeMethodDescriptionstatic voidTestPropertySourceUtils.addInlinedPropertiesToEnvironment(ConfigurableEnvironment environment, String... inlinedProperties) Add the given inlined properties (in the form of key-value pairs) to the suppliedenvironment.static voidTestPropertySourceUtils.addPropertiesFilesToEnvironment(ConfigurableEnvironment environment, ResourceLoader resourceLoader, String... locations) -
Uses of ConfigurableEnvironment in org.springframework.web.context
Subinterfaces of ConfigurableEnvironment in org.springframework.web.contextModifier and TypeInterfaceDescriptioninterfaceSpecialization ofConfigurableEnvironmentallowing initialization of servlet-relatedPropertySourceobjects at the earliest moment that theServletContextand (optionally)ServletConfigbecome available. -
Uses of ConfigurableEnvironment in org.springframework.web.context.support
Classes in org.springframework.web.context.support that implement ConfigurableEnvironmentModifier and TypeClassDescriptionclassEnvironmentimplementation to be used byServlet-based web applications.Methods in org.springframework.web.context.support that return ConfigurableEnvironmentModifier and TypeMethodDescriptionprotected ConfigurableEnvironmentAbstractRefreshableWebApplicationContext.createEnvironment()Create and return a newStandardServletEnvironment.protected ConfigurableEnvironmentGenericWebApplicationContext.createEnvironment()Create and return a newStandardServletEnvironment.protected ConfigurableEnvironmentStaticWebApplicationContext.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 ConfigurableEnvironmentHttpServletBean.createEnvironment()Create and return a newStandardServletEnvironment.HttpServletBean.getEnvironment()Return theEnvironmentassociated with this servlet.