org.apache.tapestry5.internal.transform

## Class InjectContainerWorker

- java.lang.Object
- - org.apache.tapestry5.internal.transform.InjectContainerWorker

- All Implemented Interfaces:
    ComponentClassTransformWorker2

      public class InjectContainerWorker
      extends Object
      implements ComponentClassTransformWorker2

  Identifies the `InjectContainer` annotation and adds code to initialize it to the core component.

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `InjectContainerWorker(ComponentClassCache cache)`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `transform(PlasticClass plasticClass, TransformationSupport support, MutableComponentModel model)` Invoked to perform part of the transformation of the `PlasticClass`.

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### InjectContainerWorker

          public InjectContainerWorker(ComponentClassCache cache)

  - ### Method Detail

    - #### transform

          public void transform(PlasticClass plasticClass,
                                TransformationSupport support,
                                MutableComponentModel model)

      Description copied from interface: `ComponentClassTransformWorker2`
      Invoked to perform part of the transformation of the `PlasticClass`.
      Specified by:
        `transform` in interface `ComponentClassTransformWorker2`
      Parameters:
        `plasticClass` - component class being transformed
        `support` - additional utilities needed during the transformation
        `model` - the model for the component being transformed

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