Class PersistenceUnitResource
java.lang.Object
org.eclipse.persistence.jpa.rs.resources.common.AbstractResource
org.eclipse.persistence.jpa.rs.resources.common.AbstractPersistenceUnitResource
org.eclipse.persistence.jpa.rs.resources.unversioned.PersistenceUnitResource
@Deprecated
@Produces({"application/json","application/xml"})
@Consumes({"application/json","application/xml"})
@Path("/{context}/metadata/")
public class PersistenceUnitResource
extends AbstractPersistenceUnitResource
Deprecated.
PersistenceResource
-
Field Summary
Fields inherited from class org.eclipse.persistence.jpa.rs.resources.common.AbstractResource
APPLICATION_SCHEMA_JSON, APPLICATION_SCHEMA_JSON_TYPE, factory, SERVICE_VERSION_FORMAT
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionjakarta.ws.rs.core.Response
getDescriptorMetadata
(String persistenceUnit, String descriptorAlias, jakarta.ws.rs.core.HttpHeaders hh, jakarta.ws.rs.core.UriInfo uriInfo) Deprecated.jakarta.ws.rs.core.Response
getQueriesMetadata
(String persistenceUnit, jakarta.ws.rs.core.HttpHeaders hh, jakarta.ws.rs.core.UriInfo uriInfo) Deprecated.jakarta.ws.rs.core.Response
getQueryMetadata
(String persistenceUnit, String queryName, jakarta.ws.rs.core.HttpHeaders hh, jakarta.ws.rs.core.UriInfo uriInfo) Deprecated.jakarta.ws.rs.core.Response
getTypes
(String persistenceUnit, jakarta.ws.rs.core.HttpHeaders hh, jakarta.ws.rs.core.UriInfo uriInfo) Deprecated.Methods inherited from class org.eclipse.persistence.jpa.rs.resources.common.AbstractPersistenceUnitResource
getDescriptorMetadataInternal, getQueriesMetadataInternal, getQueryMetadataInternal, getTypesInternal
Methods inherited from class org.eclipse.persistence.jpa.rs.resources.common.AbstractResource
buildPersistenceContextFactory, getMatrixParameters, getPersistenceContext, getPersistenceFactory, getPersistenceFactory, getQueryParameters, getRelationshipPartner, isValidVersion, marshallMetadata, setPersistenceFactory, setRequestUniqueId
-
Constructor Details
-
PersistenceUnitResource
public PersistenceUnitResource()Deprecated.
-
-
Method Details
-
getDescriptorMetadata
@GET @Path("entity/{descriptorAlias}") public jakarta.ws.rs.core.Response getDescriptorMetadata(@PathParam("context") String persistenceUnit, @PathParam("descriptorAlias") String descriptorAlias, @Context jakarta.ws.rs.core.HttpHeaders hh, @Context jakarta.ws.rs.core.UriInfo uriInfo) Deprecated. -
getTypes
@GET public jakarta.ws.rs.core.Response getTypes(@PathParam("context") String persistenceUnit, @Context jakarta.ws.rs.core.HttpHeaders hh, @Context jakarta.ws.rs.core.UriInfo uriInfo) Deprecated. -
getQueriesMetadata
@GET @Path("query") public jakarta.ws.rs.core.Response getQueriesMetadata(@PathParam("context") String persistenceUnit, @Context jakarta.ws.rs.core.HttpHeaders hh, @Context jakarta.ws.rs.core.UriInfo uriInfo) Deprecated. -
getQueryMetadata
@GET @Path("query/{queryName}") public jakarta.ws.rs.core.Response getQueryMetadata(@PathParam("context") String persistenceUnit, @PathParam("queryName") String queryName, @Context jakarta.ws.rs.core.HttpHeaders hh, @Context jakarta.ws.rs.core.UriInfo uriInfo) Deprecated.
-
PersistenceUnitResource
instead.