public class AnnotationRefServiceFactory extends ODataServiceFactory
ACCEPT_FORM_ENCODING, FACTORY_CLASSLOADER_LABEL, FACTORY_INSTANCE_LABEL, FACTORY_LABEL, PATH_SPLIT_LABEL
Constructor and Description |
---|
AnnotationRefServiceFactory() |
Modifier and Type | Method and Description |
---|---|
ODataService |
createService(ODataContext context)
Create instance of custom
ODataService . |
<T extends ODataCallback> |
getCallback(Class<T> callbackInterface)
A service can return implementation classes for various callback interfaces.
|
createODataSingleProcessorService
public ODataService createService(ODataContext context) throws ODataException
ODataServiceFactory
ODataService
.createService
in class ODataServiceFactory
context
- OData context objectODataException
- in case of errorpublic <T extends ODataCallback> T getCallback(Class<T> callbackInterface)
ODataServiceFactory
getCallback
in class ODataServiceFactory
callbackInterface
- a interface type to query for implementationCopyright © 2013-2017 The Apache Software Foundation. All Rights Reserved.