Class PersistenceUnitResource


  • @Produces({"application/json","application/xml"})
    @Consumes({"application/json","application/xml"})
    @Path("/{context}/metadata/")
    public class PersistenceUnitResource
    extends AbstractPersistenceUnitResource
    Deprecated.
    PersistenceResource
    • Constructor Detail

      • PersistenceUnitResource

        public PersistenceUnitResource()
        Deprecated.
    • Method Detail

      • getDescriptorMetadata

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

        @GET
        public javax.ws.rs.core.Response getTypes​(@PathParam("context")
                                                  java.lang.String persistenceUnit,
                                                  @Context
                                                  javax.ws.rs.core.HttpHeaders hh,
                                                  @Context
                                                  javax.ws.rs.core.UriInfo uriInfo)
        Deprecated.
      • getQueriesMetadata

        @GET
        @Path("query")
        public javax.ws.rs.core.Response getQueriesMetadata​(@PathParam("context")
                                                            java.lang.String persistenceUnit,
                                                            @Context
                                                            javax.ws.rs.core.HttpHeaders hh,
                                                            @Context
                                                            javax.ws.rs.core.UriInfo uriInfo)
        Deprecated.
      • getQueryMetadata

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