org.apache.olingo.odata2.ref.processor
Class ScenarioServiceFactory
java.lang.Object
org.apache.olingo.odata2.api.ODataServiceFactory
org.apache.olingo.odata2.ref.processor.ScenarioServiceFactory
public class ScenarioServiceFactory
- extends ODataServiceFactory
Service Factory for the reference scenario.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ScenarioServiceFactory
public ScenarioServiceFactory()
createService
public ODataService createService(ODataContext context)
throws ODataException
- Description copied from class:
ODataServiceFactory
- Create instance of custom
ODataService
.
- Specified by:
createService
in class ODataServiceFactory
- Parameters:
context
- OData context object
- Returns:
- A new service instance.
- Throws:
ODataException
- in case of error
getCallback
public <T extends ODataCallback> T getCallback(Class<? extends ODataCallback> callbackInterface)
- Description copied from class:
ODataServiceFactory
- A service can return implementation classes for various callback interfaces.
- Overrides:
getCallback
in class ODataServiceFactory
- Parameters:
callbackInterface
- a interface type to query for implementation
- Returns:
- a callback implementation for this interface or null
Copyright © 2013-2015 The Apache Software Foundation. All Rights Reserved.