Class DefaultServiceFactory
java.lang.Object
org.apache.olingo.odata2.api.ODataServiceFactory
de.hybris.platform.odata2services.odata.impl.DefaultServiceFactory
public class DefaultServiceFactory
extends org.apache.olingo.odata2.api.ODataServiceFactory
-
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 -
Method Summary
Modifier and TypeMethodDescriptionorg.apache.olingo.odata2.api.ODataServicecreateService(org.apache.olingo.odata2.api.processor.ODataContext context) <T extends org.apache.olingo.odata2.api.ODataCallback>
TgetCallback(Class<T> callbackInterface) protected EdmProviderFactoryprotected org.apache.olingo.odata2.api.processor.ODataErrorCallbackprotected ODataProcessorFactoryvoidsetEdmProviderFactory(EdmProviderFactory edmProviderFactory) voidsetErrorCallback(org.apache.olingo.odata2.api.processor.ODataErrorCallback callback) voidsetProcessorFactory(ODataProcessorFactory factory) Methods inherited from class org.apache.olingo.odata2.api.ODataServiceFactory
createODataSingleProcessorService
-
Constructor Details
-
DefaultServiceFactory
public DefaultServiceFactory()
-
-
Method Details
-
createService
public org.apache.olingo.odata2.api.ODataService createService(org.apache.olingo.odata2.api.processor.ODataContext context) - Specified by:
createServicein classorg.apache.olingo.odata2.api.ODataServiceFactory
-
getCallback
public <T extends org.apache.olingo.odata2.api.ODataCallback> T getCallback(Class<T> callbackInterface) - Overrides:
getCallbackin classorg.apache.olingo.odata2.api.ODataServiceFactory
-
getEdmProviderFactory
-
setEdmProviderFactory
-
getProcessorFactory
-
setProcessorFactory
-
getErrorCallback
protected org.apache.olingo.odata2.api.processor.ODataErrorCallback getErrorCallback() -
setErrorCallback
public void setErrorCallback(org.apache.olingo.odata2.api.processor.ODataErrorCallback callback)
-