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
-
@Produces({"application/json","application/xml"}) @Consumes({"application/json","application/xml"}) @Path("/") public class PersistenceResource extends AbstractPersistenceResource
Deprecated.UsePersistenceResource
instead.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
Constructors Constructor Description PersistenceResource()
Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description javax.ws.rs.core.Response
callSessionBean(javax.ws.rs.core.HttpHeaders hh, javax.ws.rs.core.UriInfo ui, java.io.InputStream is)
Deprecated.javax.ws.rs.core.Response
getContexts(javax.ws.rs.core.HttpHeaders hh, javax.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
-
-
-
-
Method Detail
-
getContexts
@GET public javax.ws.rs.core.Response getContexts(@Context javax.ws.rs.core.HttpHeaders hh, @Context javax.ws.rs.core.UriInfo uriInfo) throws JAXBException
Deprecated.- Throws:
JAXBException
-
callSessionBean
@POST @Produces("*/*") public javax.ws.rs.core.Response callSessionBean(@Context javax.ws.rs.core.HttpHeaders hh, @Context javax.ws.rs.core.UriInfo ui, java.io.InputStream is) throws JAXBException, java.lang.ClassNotFoundException, javax.naming.NamingException, java.lang.NoSuchMethodException, java.lang.reflect.InvocationTargetException, java.lang.IllegalAccessException
Deprecated.- Throws:
JAXBException
java.lang.ClassNotFoundException
javax.naming.NamingException
java.lang.NoSuchMethodException
java.lang.reflect.InvocationTargetException
java.lang.IllegalAccessException
-
-