public static interface AnnotationServiceFactory.AnnotationServiceFactoryInstance
AnnotationServiceFactory.AnnotationServiceFactoryInstance
which
provides an ODataService
based on annotation from
org.apache.olingo.olingo-odata2-api-annotation
module
(see package org.apache.olingo.odata2.api.annotation.edm
).Modifier and Type | Method and Description |
---|---|
ODataService |
createAnnotationService(Collection<Class<?>> annotatedClasses)
Create an
ODataService which is based on an EDM and Processor which are using the annotations from
org.apache.olingo.olingo-odata2-api-annotation module
(see package org.apache.olingo.odata2.api.annotation.edm ) to define the model and access the data. |
ODataService |
createAnnotationService(String modelPackage)
Create an
ODataService which is based on an EDM and Processor which are using the annotations from
org.apache.olingo.olingo-odata2-api-annotation module
(see package org.apache.olingo.odata2.api.annotation.edm ) to define the model and access the data. |
ODataService createAnnotationService(String modelPackage) throws ODataException
ODataService
which is based on an EDM and Processor which are using the annotations from
org.apache.olingo.olingo-odata2-api-annotation
module
(see package org.apache.olingo.odata2.api.annotation.edm
) to define the model and access the data.modelPackage
- package name which is scanned for annotated classesODataService
based on on an EDM and Processor which are using annotations
for model definition and data access.ODataException
- if an error during initialization occursODataService createAnnotationService(Collection<Class<?>> annotatedClasses) throws ODataException
ODataService
which is based on an EDM and Processor which are using the annotations from
org.apache.olingo.olingo-odata2-api-annotation
module
(see package org.apache.olingo.odata2.api.annotation.edm
) to define the model and access the data.modelPackage
- classes (which are annotated) which will be used for EDM definition and data access.ODataService
based on on an EDM and Processor which are using annotations
for model definition and data access.ODataException
- if an error during initialization occursCopyright © 2013-2017 The Apache Software Foundation. All Rights Reserved.