Class ODataFacadeMonitoringPersistenceProxy

  • All Implemented Interfaces:
    ODataFacade

    public class ODataFacadeMonitoringPersistenceProxy
    extends java.lang.Object
    implements ODataFacade
    An implementation of ODataFacade for adding additional logic such as request logging and persistence of monitoring objects before delegating to the default implementation of the facade.
    • Constructor Detail

      • ODataFacadeMonitoringPersistenceProxy

        public ODataFacadeMonitoringPersistenceProxy()
    • Method Detail

      • handlePost

        public org.apache.olingo.odata2.api.processor.ODataResponse handlePost​(org.apache.olingo.odata2.api.processor.ODataContext context)
        Description copied from interface: ODataFacade
        Creates an integration object item based on request.
        Specified by:
        handlePost in interface ODataFacade
        Parameters:
        context - contains information about what item should be created
        Returns:
        response with information about the newly created item
      • handleGetSchema

        public org.apache.olingo.odata2.api.processor.ODataResponse handleGetSchema​(org.apache.olingo.odata2.api.processor.ODataContext oDataContext)
        Description copied from interface: ODataFacade
        Obtains ODataResponse with a stream that contains odata EDMX schema specified by the oDataContext.
        Specified by:
        handleGetSchema in interface ODataFacade
        Parameters:
        oDataContext - contains information about what schema should be retrieved.
        Returns:
        requested ODataResponse with a stream that contains EDMX schema
      • handleGetEntity

        public org.apache.olingo.odata2.api.processor.ODataResponse handleGetEntity​(org.apache.olingo.odata2.api.processor.ODataContext oDataContext)
        Description copied from interface: ODataFacade
        Obtains ODataResponse with a stream that contains entity data model.
        Specified by:
        handleGetEntity in interface ODataFacade
        Parameters:
        oDataContext - contains information about what entity should be retrieved.
        Returns:
        requested ODataResponse with a stream that contains entity data.
      • handleRequest

        public org.apache.olingo.odata2.api.processor.ODataResponse handleRequest​(org.apache.olingo.odata2.api.processor.ODataContext oDataContext)
        Description copied from interface: ODataFacade
        Handles create, read, update or delete requests on an integration object item.
        Specified by:
        handleRequest in interface ODataFacade
        Parameters:
        oDataContext - contains the information about the item
        Returns:
        response with information about the item
      • monitorAndGetResponse

        protected org.apache.olingo.odata2.api.processor.ODataResponse monitorAndGetResponse​(org.apache.olingo.odata2.api.processor.ODataContext oDataContext)
      • getResponse

        protected org.apache.olingo.odata2.api.processor.ODataResponse getResponse​(org.apache.olingo.odata2.api.processor.ODataContext oDataContext)
      • setoDataFacade

        public void setoDataFacade​(ODataFacade oDataFacade)
      • getoDataFacade

        protected ODataFacade getoDataFacade()
      • setMediaPersistenceService

        public void setMediaPersistenceService​(MediaPersistenceService mediaPersistenceServiceImpl)
      • setInboundRequestService

        public void setInboundRequestService​(InboundRequestService inboundRequestService)
      • setInboundServicesConfiguration

        public void setInboundServicesConfiguration​(InboundServicesConfiguration inboundServicesConfiguration)