public abstract class ODataJPAProcessor extends ODataSingleProcessor
Modifier and Type | Field and Description |
---|---|
protected JPAProcessor |
jpaProcessor
An instance of
JPAProcessor . |
protected ODataJPAContext |
oDataJPAContext
An instance of
ODataJPAContext object |
protected ODataJPAResponseBuilder |
responseBuilder
An instance of
ODataJPAResponseBuilder . |
Constructor and Description |
---|
ODataJPAProcessor(ODataJPAContext oDataJPAContext)
Constructor
|
Modifier and Type | Method and Description |
---|---|
void |
close() |
void |
close(boolean forceClose)
The method closes ThreadContext.
|
ODataJPAContext |
getOdataJPAContext() |
void |
setOdataJPAContext(ODataJPAContext odataJPAContext) |
countEntityLinks, countEntitySet, createEntity, createEntityLink, deleteEntity, deleteEntityLink, deleteEntityMedia, deleteEntitySimplePropertyValue, executeBatch, executeChangeSet, executeFunctionImport, executeFunctionImportValue, existsEntity, existsEntityLink, getContext, getCustomContentTypes, readEntity, readEntityComplexProperty, readEntityLink, readEntityLinks, readEntityMedia, readEntitySet, readEntitySimpleProperty, readEntitySimplePropertyValue, readMetadata, readServiceDocument, setContext, updateEntity, updateEntityComplexProperty, updateEntityLink, updateEntityMedia, updateEntitySimpleProperty, updateEntitySimplePropertyValue
protected ODataJPAContext oDataJPAContext
ODataJPAContext
objectprotected JPAProcessor jpaProcessor
JPAProcessor
. The
instance is created using JPAAccessFactory
.protected ODataJPAResponseBuilder responseBuilder
ODataJPAResponseBuilder
. The instance
is created using ODataJPAAccessFactory
.public ODataJPAProcessor(ODataJPAContext oDataJPAContext)
oDataJPAContext
- non null OData JPA Context objectpublic ODataJPAContext getOdataJPAContext()
public void setOdataJPAContext(ODataJPAContext odataJPAContext)
public void close(boolean forceClose)
isContainerManaged
is set to true
at
the ODataJPAContext only the cleanup is run but the EntityManager is not closed.public void close()
Copyright © 2013-2017 The Apache Software Foundation. All Rights Reserved.