Package cronapi.odata.server
Class JPAODataServiceFactory
java.lang.Object
org.apache.olingo.odata2.api.ODataServiceFactory
org.apache.olingo.odata2.jpa.processor.api.ODataJPAServiceFactory
cronapi.odata.server.JPAODataServiceFactory
public class JPAODataServiceFactory
extends org.apache.olingo.odata2.jpa.processor.api.ODataJPAServiceFactory
-
Field Summary
Fields inherited from class org.apache.olingo.odata2.api.ODataServiceFactory
ACCEPT_FORM_ENCODING, FACTORY_CLASSLOADER_LABEL, FACTORY_INSTANCE_LABEL, FACTORY_LABEL, PATH_SPLIT_LABEL -
Constructor Summary
ConstructorsConstructorDescriptionJPAODataServiceFactory(String namespace, int order) JPAODataServiceFactory(String namespace, int order, Properties propertyOverrides) -
Method Summary
Modifier and TypeMethodDescriptionorg.apache.olingo.odata2.api.ODataServicecreateODataSingleProcessorService(org.apache.olingo.odata2.api.edm.provider.EdmProvider provider, org.apache.olingo.odata2.api.processor.ODataSingleProcessor processor) handleException(Throwable throwable, org.apache.olingo.odata2.api.uri.UriInfo info) org.apache.olingo.odata2.jpa.processor.api.ODataJPAContextMethods inherited from class org.apache.olingo.odata2.jpa.processor.api.ODataJPAServiceFactory
createCustomODataProcessor, createService, getCallback, getODataJPAContext, setDetailErrors, setODataJPATransaction, setOnWriteJPAContent
-
Constructor Details
-
JPAODataServiceFactory
-
JPAODataServiceFactory
-
-
Method Details
-
initializeODataJPAContext
public org.apache.olingo.odata2.jpa.processor.api.ODataJPAContext initializeODataJPAContext() throws org.apache.olingo.odata2.jpa.processor.api.exception.ODataJPARuntimeException- Specified by:
initializeODataJPAContextin classorg.apache.olingo.odata2.jpa.processor.api.ODataJPAServiceFactory- Throws:
org.apache.olingo.odata2.jpa.processor.api.exception.ODataJPARuntimeException
-
createODataSingleProcessorService
public org.apache.olingo.odata2.api.ODataService createODataSingleProcessorService(org.apache.olingo.odata2.api.edm.provider.EdmProvider provider, org.apache.olingo.odata2.api.processor.ODataSingleProcessor processor) - Overrides:
createODataSingleProcessorServicein classorg.apache.olingo.odata2.api.ODataServiceFactory
-
handleException
public Exception handleException(Throwable throwable, org.apache.olingo.odata2.api.uri.UriInfo info) - Overrides:
handleExceptionin classorg.apache.olingo.odata2.api.ODataServiceFactory
-