Annotation Interface AddExtension


Add a CDI extension to the container.

This annotation can be repeated.

If used on a method, the container will be reset regardless of the test lifecycle.

  • Required Element Summary

    Required Elements
    Modifier and Type
    Required Element
    Description
    Class<? extends Extension>
    Class of the extension to add.
  • Element Details

    • value

      Class<? extends Extension> value
      Class of the extension to add. The class must be public.
      Returns:
      extension class.