Class PersistenceUnitResource


@Produces({"application/json","application/xml"}) @Consumes({"application/json","application/xml"}) @Path("/{version : v\\d\\.\\d|latest}/{context}/metadata/") public class PersistenceUnitResource extends AbstractPersistenceUnitResource
Metadata catalog resource in JPARS version less than 2.0.
Author:
gonural
  • Constructor Details

    • PersistenceUnitResource

      public PersistenceUnitResource()
  • Method Details

    • getDescriptorMetadata

      @GET @Path("entity/{descriptorAlias}") public jakarta.ws.rs.core.Response getDescriptorMetadata(@PathParam("version") String version, @PathParam("context") String persistenceUnit, @PathParam("descriptorAlias") String descriptorAlias, @Context jakarta.ws.rs.core.HttpHeaders hh, @Context jakarta.ws.rs.core.UriInfo uriInfo)
    • getTypes

      @GET public jakarta.ws.rs.core.Response getTypes(@PathParam("version") String version, @PathParam("context") String persistenceUnit, @Context jakarta.ws.rs.core.HttpHeaders hh, @Context jakarta.ws.rs.core.UriInfo uriInfo)
    • getQueriesMetadata

      @GET @Path("query") public jakarta.ws.rs.core.Response getQueriesMetadata(@PathParam("version") String version, @PathParam("context") String persistenceUnit, @Context jakarta.ws.rs.core.HttpHeaders hh, @Context jakarta.ws.rs.core.UriInfo uriInfo)
    • getQueryMetadata

      @GET @Path("query/{queryName}") public jakarta.ws.rs.core.Response getQueryMetadata(@PathParam("version") String version, @PathParam("context") String persistenceUnit, @PathParam("queryName") String queryName, @Context jakarta.ws.rs.core.HttpHeaders hh, @Context jakarta.ws.rs.core.UriInfo uriInfo)