Interface ODataProcessorFactory
- All Known Implementing Classes:
DefaultODataProcessorFactory
public interface ODataProcessorFactory
A factory for creating
ODataSingleProcessor instances, which are used by OLingo for processing the ODataRequests.-
Method Summary
Modifier and TypeMethodDescriptionorg.apache.olingo.odata2.api.processor.ODataSingleProcessorcreateProcessor(org.apache.olingo.odata2.api.processor.ODataContext context) Creates new instance of the processor.
-
Method Details
-
createProcessor
org.apache.olingo.odata2.api.processor.ODataSingleProcessor createProcessor(org.apache.olingo.odata2.api.processor.ODataContext context) Creates new instance of the processor. The implementation should guarantee a different instance for not equal contexts.- Parameters:
context- a request context to create a processor for.- Returns:
- an instance of the processor to use for processing the context.
-