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
-
@Produces({"application/json","application/xml"}) @Consumes({"application/json","application/xml"}) @Path("/{context}/metadata/") public class PersistenceUnitResource extends AbstractPersistenceUnitResource
Deprecated.UsePersistenceUnitResource
instead.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
Constructors Constructor Description PersistenceUnitResource()
Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description javax.ws.rs.core.Response
getDescriptorMetadata(java.lang.String persistenceUnit, java.lang.String descriptorAlias, javax.ws.rs.core.HttpHeaders hh, javax.ws.rs.core.UriInfo uriInfo)
Deprecated.javax.ws.rs.core.Response
getQueriesMetadata(java.lang.String persistenceUnit, javax.ws.rs.core.HttpHeaders hh, javax.ws.rs.core.UriInfo uriInfo)
Deprecated.javax.ws.rs.core.Response
getQueryMetadata(java.lang.String persistenceUnit, java.lang.String queryName, javax.ws.rs.core.HttpHeaders hh, javax.ws.rs.core.UriInfo uriInfo)
Deprecated.javax.ws.rs.core.Response
getTypes(java.lang.String persistenceUnit, javax.ws.rs.core.HttpHeaders hh, javax.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
-
-
-
-
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.
-
-