org.eclipse.persistence.jpa.rs.resources.common
Class AbstractPersistenceResource
java.lang.Object
org.eclipse.persistence.jpa.rs.resources.common.AbstractResource
org.eclipse.persistence.jpa.rs.resources.common.AbstractPersistenceResource
- Direct Known Subclasses:
- PersistenceResource, PersistenceResource
public abstract class AbstractPersistenceResource
- extends AbstractResource
- Author:
- gonural
Method Summary |
protected javax.ws.rs.core.Response |
callSessionBeanInternal(java.lang.String version,
javax.ws.rs.core.HttpHeaders hh,
javax.ws.rs.core.UriInfo ui,
java.io.InputStream is)
|
protected javax.ws.rs.core.Response |
getContexts(java.lang.String version,
javax.ws.rs.core.HttpHeaders hh,
java.net.URI baseURI)
|
protected org.eclipse.persistence.internal.jpa.rs.metadata.model.SessionBeanCall |
unmarshallSessionBeanCall(java.io.InputStream data)
|
Methods inherited from class org.eclipse.persistence.jpa.rs.resources.common.AbstractResource |
buildPersistenceContextFactory, createShellJAXBElementList, getMatrixParameters, getPersistenceContext, getPersistenceFactory, getPersistenceFactory, getQueryParameters, getRelationshipPartner, isValidVersion, marshallMetadata, setPersistenceFactory |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AbstractPersistenceResource
public AbstractPersistenceResource()
getContexts
protected javax.ws.rs.core.Response getContexts(java.lang.String version,
javax.ws.rs.core.HttpHeaders hh,
java.net.URI baseURI)
throws JAXBException
- Throws:
JAXBException
callSessionBeanInternal
protected javax.ws.rs.core.Response callSessionBeanInternal(java.lang.String version,
javax.ws.rs.core.HttpHeaders hh,
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
- Throws:
JAXBException
java.lang.ClassNotFoundException
javax.naming.NamingException
java.lang.NoSuchMethodException
java.lang.reflect.InvocationTargetException
java.lang.IllegalAccessException
unmarshallSessionBeanCall
protected org.eclipse.persistence.internal.jpa.rs.metadata.model.SessionBeanCall unmarshallSessionBeanCall(java.io.InputStream data)
throws JAXBException
- Throws:
JAXBException