Class TestApplication

java.lang.Object
jakarta.ws.rs.core.Application
org.jboss.resteasy.utils.TestApplication

@ApplicationPath("/") public class TestApplication extends jakarta.ws.rs.core.Application
Base class used from deployment.
  • Field Details

    • classes

      public static Set<Class<?>> classes
    • singletons

      public static Set<Object> singletons
  • Constructor Details

    • TestApplication

      public TestApplication()
  • Method Details

    • getClassesFromDeployment

      public static String[] getClassesFromDeployment(String name)
      Load resources from classes.txt file from deployment
      Returns:
      Array of class names.
    • getClasses

      public Set<Class<?>> getClasses()
      Overrides:
      getClasses in class jakarta.ws.rs.core.Application
      See Also:
      • Application.getClasses()
    • getSingletons

      public Set<Object> getSingletons()
      Overrides:
      getSingletons in class jakarta.ws.rs.core.Application
      See Also:
      • Application.getSingletons()