Package org.apache.tapestry5.ioc.junit

## Annotation Type Registry

-     @Retention(RUNTIME)
      @Target(TYPE)
      @Inherited
      public @interface Registry

  Used by the `TapestryIOCJUnit4ClassRunner` to configure a test `Registry`

- - ### Required Element Summary

    Required Elements
    Modifier and Type | Required Element | Description
    --- | --- | ---
    `Class<?>[]` | `modules` | Tapestry module classes

  - ### Optional Element Summary

    Optional Elements
    Modifier and Type | Optional Element | Description
    --- | --- | ---
    `RegistryShutdownType` | `shutdown` | Determines the registry lifecycle

- - ### Element Detail

    - #### modules

          Class<?>[] modules

      Tapestry module classes
      Returns:
        module class array

  - - #### shutdown

          RegistryShutdownType shutdown

      Determines the registry lifecycle
      Returns:
        RegistryShutdownType
      Default:
        org.apache.tapestry5.ioc.junit.RegistryShutdownType.AFTER_CLASS