public abstract class AbstractPersistenceResource extends AbstractResource
APPLICATION_SCHEMA_JSON, APPLICATION_SCHEMA_JSON_TYPE, factory, SERVICE_VERSION_FORMAT
Constructor and Description |
---|
AbstractPersistenceResource() |
Modifier and Type | Method and Description |
---|---|
protected javax.ws.rs.core.Response |
callSessionBeanInternal(java.lang.String version,
javax.ws.rs.core.HttpHeaders headers,
javax.ws.rs.core.UriInfo uriInfo,
java.io.InputStream is) |
protected javax.ws.rs.core.Response |
getContextsInternal(java.lang.String version,
javax.ws.rs.core.HttpHeaders headers,
javax.ws.rs.core.UriInfo uriInfo)
Produces a response containing a list of available persistence contexts.
|
buildPersistenceContextFactory, getMatrixParameters, getPersistenceContext, getPersistenceFactory, getPersistenceFactory, getQueryParameters, getRelationshipPartner, isValidVersion, marshallMetadata, setPersistenceFactory, setRequestUniqueId
protected javax.ws.rs.core.Response getContextsInternal(java.lang.String version, javax.ws.rs.core.HttpHeaders headers, javax.ws.rs.core.UriInfo uriInfo)
version
- the service version (null, "v1.0", "v2.0", "latest")headers
- the HTTP headersuriInfo
- the URLprotected javax.ws.rs.core.Response callSessionBeanInternal(java.lang.String version, javax.ws.rs.core.HttpHeaders headers, javax.ws.rs.core.UriInfo uriInfo, java.io.InputStream is)