This project has retired. For details please refer to its
Attic page.
AbstractService (Olingo-OData 4.5.0 API)
-
- Type Parameters:
C - actual client class
public abstract class AbstractService<C extends EdmEnabledODataClient>
extends Object
Entry point for proxy mode, gives access to entity container instances.
-
-
Field Summary
Fields
| Modifier and Type |
Field and Description |
protected static org.slf4j.Logger |
LOG |
-
Method Summary
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Method Detail
-
getClient
public C getClient()
-
getEntityContainer
public <T> T getEntityContainer(Class<T> reference)
throws IllegalStateException,
IllegalArgumentException
Return an initialized concrete implementation of the passed EntityContainer interface.
- Type Parameters:
T - interface annotated as EntityContainer
- Parameters:
reference - class object of the EntityContainer annotated interface
- Returns:
- an initialized concrete implementation of the passed reference
- Throws:
IllegalArgumentException - if the passed reference is not an interface annotated as EntityContainer
IllegalStateException
Copyright © 2013–2018 The Apache Software Foundation. All rights reserved.