Annotation Interface LocatorFiles


@Documented @Inherited @Retention(RUNTIME) @Target(TYPE) public @interface LocatorFiles
A set of resource paths with HK2 "inhabitant files" processed by HK2.

The "META-INF/hk2-locator/default" is automatically generated by the hk2-inhabitant-generator even for tests and HK2JUnit5Extension automatically honors it, this mechanism can be disabled by using this annotation with an empty value().

Note: This annotation is ignored when processing the file provided by the DomainXml annotation.

Author:
David Matejcek
  • Required Element Summary

    Required Elements
    Modifier and Type
    Required Element
    Description
     
  • Element Details

    • value

      String[] value
      Returns:
      set of resource paths with HK2 "inhabitant files".