EclipseLink 2.5.0, build 'v20130110-d839ca4' API Reference

org.eclipse.persistence.jpa.rs
Class PersistenceResource

java.lang.Object
  extended by org.eclipse.persistence.jpa.rs.AbstractResource
      extended by org.eclipse.persistence.jpa.rs.PersistenceResource

public class PersistenceResource
extends AbstractResource

PersistenceResource

Author:
tware

Field Summary
 
Fields inherited from class org.eclipse.persistence.jpa.rs.AbstractResource
factory
 
Constructor Summary
PersistenceResource()
           
 
Method Summary
 javax.ws.rs.core.Response callSessionBean(javax.ws.rs.core.HttpHeaders hh, javax.ws.rs.core.UriInfo ui, java.io.InputStream is)
           
protected  javax.ws.rs.core.Response callSessionBeanInternal(javax.ws.rs.core.HttpHeaders hh, javax.ws.rs.core.UriInfo ui, java.io.InputStream is)
           
protected  javax.ws.rs.core.Response getContexts(javax.ws.rs.core.HttpHeaders hh, java.net.URI baseURI)
           
 javax.ws.rs.core.Response getContexts(javax.ws.rs.core.HttpHeaders hh, javax.ws.rs.core.UriInfo uriInfo)
           
protected  java.lang.String marshallMetadata(java.lang.Object metadata, java.lang.String mediaType)
           
protected  org.eclipse.persistence.internal.jpa.rs.metadata.model.SessionBeanCall unmarshallSessionBeanCall(java.io.InputStream data)
           
 
Methods inherited from class org.eclipse.persistence.jpa.rs.AbstractResource
buildPersistenceContextFactory, getMatrixParameters, getPersistenceFactory, getQueryParameters, setPersistenceFactory
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PersistenceResource

public PersistenceResource()
Method Detail

getContexts

public javax.ws.rs.core.Response getContexts(@Context
                                             javax.ws.rs.core.HttpHeaders hh,
                                             @Context
                                             javax.ws.rs.core.UriInfo uriInfo)
                                      throws JAXBException
Throws:
JAXBException

getContexts

protected javax.ws.rs.core.Response getContexts(javax.ws.rs.core.HttpHeaders hh,
                                                java.net.URI baseURI)
                                         throws JAXBException
Throws:
JAXBException

callSessionBean

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
Throws:
JAXBException
java.lang.ClassNotFoundException
javax.naming.NamingException
java.lang.NoSuchMethodException
java.lang.reflect.InvocationTargetException
java.lang.IllegalAccessException

callSessionBeanInternal

protected javax.ws.rs.core.Response callSessionBeanInternal(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

marshallMetadata

protected java.lang.String marshallMetadata(java.lang.Object metadata,
                                            java.lang.String mediaType)
                                     throws JAXBException
Throws:
JAXBException

unmarshallSessionBeanCall

protected org.eclipse.persistence.internal.jpa.rs.metadata.model.SessionBeanCall unmarshallSessionBeanCall(java.io.InputStream data)
                                                                                                    throws JAXBException
Throws:
JAXBException

EclipseLink 2.5.0, build 'v20130110-d839ca4' API Reference