Class PersistenceResource
java.lang.Object
org.eclipse.persistence.jpa.rs.resources.common.AbstractResource
org.eclipse.persistence.jpa.rs.resources.common.AbstractPersistenceResource
org.eclipse.persistence.jpa.rs.resources.unversioned.PersistenceResource
@Deprecated
@Produces({"application/json","application/xml"})
@Consumes({"application/json","application/xml"})
@Path("/")
public class PersistenceResource
extends AbstractPersistenceResource
Deprecated.
PersistenceResource
- Author:
- tware
-
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
callSessionBean
(jakarta.ws.rs.core.HttpHeaders hh, jakarta.ws.rs.core.UriInfo ui, InputStream is) Deprecated.jakarta.ws.rs.core.Response
getContexts
(jakarta.ws.rs.core.HttpHeaders hh, jakarta.ws.rs.core.UriInfo uriInfo) Deprecated.Methods inherited from class org.eclipse.persistence.jpa.rs.resources.common.AbstractPersistenceResource
callSessionBeanInternal, getContextsInternal
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
-
PersistenceResource
public PersistenceResource()Deprecated.
-
-
Method Details
-
getContexts
@GET public jakarta.ws.rs.core.Response getContexts(@Context jakarta.ws.rs.core.HttpHeaders hh, @Context jakarta.ws.rs.core.UriInfo uriInfo) throws jakarta.xml.bind.JAXBException Deprecated.- Throws:
jakarta.xml.bind.JAXBException
-
callSessionBean
@POST @Produces("*/*") public jakarta.ws.rs.core.Response callSessionBean(@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 Deprecated.- Throws:
jakarta.xml.bind.JAXBException
ClassNotFoundException
NamingException
NoSuchMethodException
InvocationTargetException
IllegalAccessException
-
PersistenceResource
instead.