java.lang.Object
jakarta.ws.rs.core.Application
org.eclipse.persistence.jpa.rs.service.JPARSApplication

@ApplicationPath("/persistence/") public class JPARSApplication extends jakarta.ws.rs.core.Application
Config class for JPA-RS REST service. This class should remain dependent only on classes from the specification since it is designed to work with both Jersey 1.x and Jersey 2.x.
Author:
tware
  • Constructor Details

    • JPARSApplication

      public JPARSApplication()
      Instantiates a new jPARS application.
  • Method Details

    • getClasses

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

      @PreDestroy public void preDestroy()
      Clean up.