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

    Constructors
    Constructor
    Description
    JPAODataServiceFactory(String namespace, int order)
     
    JPAODataServiceFactory(String namespace, int order, Properties propertyOverrides)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    org.apache.olingo.odata2.api.ODataService
    createODataSingleProcessorService(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.ODataJPAContext
     

    Methods inherited from class org.apache.olingo.odata2.jpa.processor.api.ODataJPAServiceFactory

    createCustomODataProcessor, createService, getCallback, getODataJPAContext, setDetailErrors, setODataJPATransaction, setOnWriteJPAContent

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • JPAODataServiceFactory

      public JPAODataServiceFactory(String namespace, int order)
    • JPAODataServiceFactory

      public JPAODataServiceFactory(String namespace, int order, Properties propertyOverrides)
  • 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:
      initializeODataJPAContext in class org.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:
      createODataSingleProcessorService in class org.apache.olingo.odata2.api.ODataServiceFactory
    • handleException

      public Exception handleException(Throwable throwable, org.apache.olingo.odata2.api.uri.UriInfo info)
      Overrides:
      handleException in class org.apache.olingo.odata2.api.ODataServiceFactory