## Uses of Interface
org.springframework.core.env.Environment

- Packages that use Environment
  Package | Description
  --- | ---
  org.springframework.beans.factory.support | Classes supporting the `org.springframework.beans.factory` package.
  org.springframework.beans.factory.xml | Contains an abstract XML-based `BeanFactory` implementation, including a standard "spring-beans" XSD.
  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.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.
  org.springframework.web.filter | Provides generic filter base classes allowing for bean-style configuration.
  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 Environment in org.springframework.beans.factory.support

    Methods in org.springframework.beans.factory.support that return Environment
    Modifier and Type | Method and Description
    --- | ---
    `Environment` | AbstractBeanDefinitionReader.`getEnvironment()`

    Methods in org.springframework.beans.factory.support with parameters of type Environment
    Modifier and Type | Method and Description
    --- | ---
    `void` | AbstractBeanDefinitionReader.`setEnvironment(Environment environment)` Set the Environment to use when reading bean definitions.

  - ### Uses of Environment in org.springframework.beans.factory.xml

    Methods in org.springframework.beans.factory.xml that return Environment
    Modifier and Type | Method and Description
    --- | ---
    `Environment` | XmlReaderContext.`getEnvironment()` Return the environment to use.

  - ### Uses of Environment in org.springframework.context

    Methods in org.springframework.context with parameters of type Environment
    Modifier and Type | Method and Description
    --- | ---
    `void` | EnvironmentAware.`setEnvironment(Environment environment)` Set the `Environment` that this component runs in.

  - ### Uses of Environment in org.springframework.context.annotation

    Methods in org.springframework.context.annotation that return Environment
    Modifier and Type | Method and Description
    --- | ---
    `Environment` | ConditionContext.`getEnvironment()` Return the `Environment` for which the current application is running.
    `Environment` | ClassPathScanningCandidateComponentProvider.`getEnvironment()`

    Methods in org.springframework.context.annotation with parameters of type Environment
    Modifier and Type | Method and Description
    --- | ---
    `static List<TypeFilter>` | TypeFilterUtils.`createTypeFiltersFor(AnnotationAttributes filterAttributes, Environment environment, ResourceLoader resourceLoader, BeanDefinitionRegistry registry)` Create type filters from the supplied `AnnotationAttributes`, such as those sourced from `ComponentScan.includeFilters()` or `ComponentScan.excludeFilters()`.
    `void` | ClassPathScanningCandidateComponentProvider.`setEnvironment(Environment environment)` Set the Environment to use when resolving placeholders and evaluating `@Conditional`-annotated component classes.
    `void` | MBeanExportConfiguration.`setEnvironment(Environment environment)`
    `void` | AnnotatedBeanDefinitionReader.`setEnvironment(Environment environment)` Set the `Environment` to use when evaluating whether `@Conditional`-annotated component classes should be registered.
    `void` | ConfigurationClassPostProcessor.`setEnvironment(Environment environment)`

    Constructors in org.springframework.context.annotation with parameters of type Environment
    Constructor and Description
    `AnnotatedBeanDefinitionReader(BeanDefinitionRegistry registry, Environment environment)` Create a new `AnnotatedBeanDefinitionReader` for the given registry, using the given `Environment`.
    `ClassPathBeanDefinitionScanner(BeanDefinitionRegistry registry, boolean useDefaultFilters, Environment environment)` Create a new `ClassPathBeanDefinitionScanner` for the given bean factory and using the given `Environment` when evaluating bean definition profile metadata.
    `ClassPathBeanDefinitionScanner(BeanDefinitionRegistry registry, boolean useDefaultFilters, Environment environment, ResourceLoader resourceLoader)` Create a new `ClassPathBeanDefinitionScanner` for the given bean factory and using the given `Environment` when evaluating bean definition profile metadata.
    `ClassPathScanningCandidateComponentProvider(boolean useDefaultFilters, Environment environment)` Create a ClassPathScanningCandidateComponentProvider with the given `Environment`.

  - ### Uses of Environment in org.springframework.context.support

    Methods in org.springframework.context.support with parameters of type Environment
    Modifier and Type | Method and Description
    --- | ---
    `void` | PropertySourcesPlaceholderConfigurer.`setEnvironment(Environment environment)` `PropertySources` from the given `Environment` will be searched when replacing ${...} placeholders.

  - ### Uses of Environment in org.springframework.core.env

    Subinterfaces of Environment in org.springframework.core.env
    Modifier and Type | Interface and Description
    --- | ---
    `interface` | `ConfigurableEnvironment` Configuration interface to be implemented by most if not all `Environment` types.

    Classes in org.springframework.core.env that implement Environment
    Modifier and Type | Class and Description
    --- | ---
    `class` | `AbstractEnvironment` Abstract base class for `Environment` implementations.
    `class` | `StandardEnvironment` `Environment` implementation suitable for use in 'standard' (i.e.

    Methods in org.springframework.core.env that return Environment
    Modifier and Type | Method and Description
    --- | ---
    `Environment` | EnvironmentCapable.`getEnvironment()` Return the `Environment` associated with this component.

  - ### Uses of Environment in org.springframework.mock.env

    Classes in org.springframework.mock.env that implement 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.

  - ### Uses of Environment in org.springframework.web.context

    Subinterfaces of Environment in org.springframework.web.context
    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.

  - ### Uses of Environment in org.springframework.web.context.support

    Classes in org.springframework.web.context.support that implement Environment
    Modifier and Type | Class and Description
    --- | ---
    `class` | `StandardServletEnvironment` `Environment` implementation to be used by `Servlet`-based web applications.

  - ### Uses of Environment in org.springframework.web.filter

    Methods in org.springframework.web.filter that return Environment
    Modifier and Type | Method and Description
    --- | ---
    `protected Environment` | GenericFilterBean.`createEnvironment()` Create and return a new `StandardServletEnvironment`.
    `Environment` | GenericFilterBean.`getEnvironment()` Return the `Environment` associated with this filter.

    Methods in org.springframework.web.filter with parameters of type Environment
    Modifier and Type | Method and Description
    --- | ---
    `void` | GenericFilterBean.`setEnvironment(Environment environment)` Set the `Environment` that this filter runs in.

  - ### Uses of Environment in org.springframework.web.servlet

    Methods in org.springframework.web.servlet with parameters of type Environment
    Modifier and Type | Method and Description
    --- | ---
    `void` | HttpServletBean.`setEnvironment(Environment environment)` Set the `Environment` that this servlet runs in.