Annotation Interface DomainXml


@Documented @Inherited @Retention(RUNTIME) @Target(TYPE) public @interface DomainXml
Path to custom domain.xml used to load configuration by the HK2JUnit5Extension
Author:
David Matejcek
  • Required Element Summary

    Required Elements
    Modifier and Type
    Required Element
    Description
     
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    Class<? extends org.jvnet.hk2.config.DomDocument<?>>
    Default is TestDocument.
  • Element Details

    • value

      String value
      Returns:
      Resource path with domain.xml-like content used for the test. The path is relative to the test classloader.
    • domDocumentClass

      Class<? extends org.jvnet.hk2.config.DomDocument<?>> domDocumentClass
      Default is TestDocument.
      Returns:
      DOM tree representation. Must have public constructor with a single parameter ServiceLocator
      Default:
      org.glassfish.tests.utils.mock.TestDocument.class