Annotation Type InhabitantFiles


@Documented @Inherited @Retention(RUNTIME) @Target(TYPE) public @interface InhabitantFiles
A set of locator inhabitant files to search for in the classpath. This annotation must be placed on a class that extends HK2Runner
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    The name of inhabitant files to find in the classpath of the test.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final String
     
  • Field Details

  • Element Details

    • value

      String[] value
      The name of inhabitant files to find in the classpath of the test. If this value is an empty set then no inhabitant files will be loaded. The default for this is to search META-INF/hk2-locator/default
      Returns:
      inhabitant file names to find in the classpath for loading into testLocator
      Default:
      {"META-INF/hk2-locator/default"}