Class 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 Detail

      • JPARSApplication

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

      • getClasses

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

        @PreDestroy
        public void preDestroy()
        Clean up.