## Uses of Interface
org.apache.tapestry5.services.Environment

- Packages that use Environment
  Package | Description
  --- | ---
  org.apache.tapestry5.corelib.base | Base components intended to be extended by other components rather than used directly in templates.
  org.apache.tapestry5.internal.beaneditor | [INTERNAL USE ONLY] support classes for the `BeanEditor` component; API subject to change
  org.apache.tapestry5.internal.beanvalidator | [INTERNAL USE ONLY] JSR-303 Bean Validation implementation details; API subject to change
  org.apache.tapestry5.internal.services | [INTERNAL USE ONLY] internal service classes; API subject to change
  org.apache.tapestry5.internal.services.ajax | [INTERNAL USE ONLY] AJAX support services; API subject to change
  org.apache.tapestry5.internal.transform | [INTERNAL USE ONLY] component class transformation implementation classes; API subject to change.
  org.apache.tapestry5.modules |
  org.apache.tapestry5.test | Support for testing Tapestry pages

- - ### Uses of Environment in org.apache.tapestry5.corelib.base

    Fields in org.apache.tapestry5.corelib.base declared as Environment
    Modifier and Type | Field and Description
    --- | ---
    `protected Environment` | AbstractField.`environment`

  - ### Uses of Environment in org.apache.tapestry5.internal.beaneditor

    Constructors in org.apache.tapestry5.internal.beaneditor with parameters of type Environment
    Constructor and Description
    `MessagesConstraintGenerator(Environment environment)`

  - ### Uses of Environment in org.apache.tapestry5.internal.beanvalidator

    Constructors in org.apache.tapestry5.internal.beanvalidator with parameters of type Environment
    Constructor and Description
    `BeanFieldValidator(Field field, ValidatorFactory validatorFactory, BeanValidatorGroupSource beanValidationGroupSource, ClientConstraintDescriptorSource clientValidatorSource, FormSupport formSupport, Environment environment)`
    `BeanFieldValidatorDefaultSource(FieldValidatorDefaultSource fieldValidatorDefaultSource, ValidatorFactory validatorFactory, BeanValidatorGroupSource beanValidationGroupSource, ClientConstraintDescriptorSource clientValidatorSource, FormSupport formSupport, Environment environment)`

  - ### Uses of Environment in org.apache.tapestry5.internal.services

    Classes in org.apache.tapestry5.internal.services that implement Environment
    Modifier and Type | Class and Description
    --- | ---
    `class` | `EnvironmentImpl` A non-threadsafe implementation (expects to use the "perthread" service lifecyle).

    Constructors in org.apache.tapestry5.internal.services with parameters of type Environment
    Constructor and Description
    `AjaxComponentEventRequestHandler(RequestPageCache cache, Request request, PageRenderQueue queue, ComponentEventResultProcessor resultProcessor, PageActivator pageActivator, Environment environment, AjaxPartialResponseRenderer partialRenderer)`
    `ComponentEventRequestHandlerImpl(ComponentEventResultProcessor resultProcessor, RequestPageCache cache, Response response, PageActivator pageActivator, Environment environment)`
    `EnvironmentalShadowBuilderImpl(PlasticProxyFactory proxyFactory, Environment environment)` Construct using the default builtin factory, not the component layer version.

  - ### Uses of Environment in org.apache.tapestry5.internal.services.ajax

    Constructors in org.apache.tapestry5.internal.services.ajax with parameters of type Environment
    Constructor and Description
    `AjaxFormUpdateControllerImpl(ComponentSource componentSource, HiddenFieldLocationRules rules, Environment environment, Heartbeat heartbeat, ClientDataEncoder clientDataEncoder, org.slf4j.Logger logger)`

  - ### Uses of Environment in org.apache.tapestry5.internal.transform

    Constructors in org.apache.tapestry5.internal.transform with parameters of type Environment
    Constructor and Description
    `EnvironmentalWorker(Environment environment, ComponentClassCache classCache)`

  - ### Uses of Environment in org.apache.tapestry5.modules

    Methods in org.apache.tapestry5.modules that return Environment
    Modifier and Type | Method and Description
    --- | ---
    `Environment` | TapestryModule.`buildEnvironment(PerthreadManager perthreadManager)`

    Methods in org.apache.tapestry5.modules with parameters of type Environment
    Modifier and Type | Method and Description
    --- | ---
    `static FieldValidatorDefaultSource` | TapestryModule.`decorateFieldValidatorDefaultSource(FieldValidatorDefaultSource defaultSource, Environment environment)` Decorate FieldValidatorDefaultSource to setup the EnvironmentMessages object and place it in the environment.

    Constructors in org.apache.tapestry5.modules with parameters of type Environment
    Constructor and Description
    `JavaScriptModule(Environment environment, EnvironmentalShadowBuilder environmentalBuilder)`
    `TapestryModule(PipelineBuilder pipelineBuilder, PropertyShadowBuilder shadowBuilder, RequestGlobals requestGlobals, ApplicationGlobals applicationGlobals, ChainBuilder chainBuilder, Environment environment, StrategyBuilder strategyBuilder, PropertyAccess propertyAccess, Request request, Response response, EnvironmentalShadowBuilder environmentalBuilder, EndOfRequestEventHub endOfRequestEventHub)` We inject all sorts of common dependencies (including builders) into the module itself (note: even though some of these service are defined by the module itself, that's ok because services are always lazy proxies).

  - ### Uses of Environment in org.apache.tapestry5.test

    Methods in org.apache.tapestry5.test that return Environment
    Modifier and Type | Method and Description
    --- | ---
    `protected Environment` | TapestryTestCase.`mockEnvironment()`

    Methods in org.apache.tapestry5.test with parameters of type Environment
    Modifier and Type | Method and Description
    --- | ---
    `protected <T> void` | TapestryTestCase.`train_peek(Environment env, Class<T> type, T value)`
    `protected <T> void` | TapestryTestCase.`train_peekRequired(Environment env, Class<T> type, T value)`

5.6.1 - Copyright © 2003-2020 The Apache Software Foundation.