org.apache.tapestry5.ioc.junit

## Annotation Type Registry

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

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

- - ### Required Element Summary

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

  - ### Optional Element Summary

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

- - ### Element Detail

    - #### modules

          public abstract Class<?>[] modules

      Tapestry module classes
      Returns:
        module class array

  - - #### shutdown

          public abstract RegistryShutdownType shutdown

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

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