Class JPARSApplication
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 Summary
Constructors -
Method Summary
Methods inherited from class jakarta.ws.rs.core.Application
getProperties, getSingletons
-
Constructor Details
-
JPARSApplication
public JPARSApplication()Instantiates a new jPARS application.
-
-
Method Details
-
getClasses
- Overrides:
getClassesin classjakarta.ws.rs.core.Application
-
preDestroy
@PreDestroy public void preDestroy()Clean up.
-