Annotation Interface AddPackages


@Retention(RUNTIME) @Target(TYPE) @Inherited @Repeatable(All.class) public @interface AddPackages
Adds all bean classes from the listed packages to the deployed testing container.

Packages are selected by providing any bean class in the package.

  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    static @interface 
    Container annotation for repeatable AddPackages.
  • Required Element Summary

    Required Elements
    Modifier and Type
    Required Element
    Description
    Class<?>[]
     
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    boolean
     
  • Element Details

    • value

      Class<?>[] value
    • recursively

      boolean recursively
      Default:
      true