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
    --- | ---
    `java.lang.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 java.lang.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

${project.version} - Copyright © 2003-2015 The Apache Software Foundation.