@Produces(value={"application/json","application/xml"}) @Consumes(value={"application/json","application/xml"}) @Path(value="/{version : v\\d\\.\\d|latest}/") public class PersistenceResource extends AbstractPersistenceResource
APPLICATION_SCHEMA_JSON, APPLICATION_SCHEMA_JSON_TYPE, factory, SERVICE_VERSION_FORMAT
Constructor and Description |
---|
PersistenceResource() |
Modifier and Type | Method and Description |
---|---|
jakarta.ws.rs.core.Response |
callSessionBean(String version,
jakarta.ws.rs.core.HttpHeaders hh,
jakarta.ws.rs.core.UriInfo ui,
InputStream is) |
jakarta.ws.rs.core.Response |
getContexts(String version,
jakarta.ws.rs.core.HttpHeaders hh,
jakarta.ws.rs.core.UriInfo uriInfo) |
callSessionBeanInternal, getContextsInternal
buildPersistenceContextFactory, getMatrixParameters, getPersistenceContext, getPersistenceFactory, getPersistenceFactory, getQueryParameters, getRelationshipPartner, isValidVersion, marshallMetadata, setPersistenceFactory, setRequestUniqueId
@GET public jakarta.ws.rs.core.Response getContexts(@PathParam(value="version") String version, @Context jakarta.ws.rs.core.HttpHeaders hh, @Context jakarta.ws.rs.core.UriInfo uriInfo) throws jakarta.xml.bind.JAXBException
jakarta.xml.bind.JAXBException
@POST @Produces(value="*/*") public jakarta.ws.rs.core.Response callSessionBean(@PathParam(value="version") String version, @Context jakarta.ws.rs.core.HttpHeaders hh, @Context jakarta.ws.rs.core.UriInfo ui, InputStream is) throws jakarta.xml.bind.JAXBException, ClassNotFoundException, NamingException, NoSuchMethodException, InvocationTargetException, IllegalAccessException
jakarta.xml.bind.JAXBException
ClassNotFoundException
NamingException
NoSuchMethodException
InvocationTargetException
IllegalAccessException
Copyright © 2007–2020 Eclipse.org - EclipseLink Project. All rights reserved.