Package com.adaptris.interlok.azure
Class GraphAPIConnection
java.lang.Object
com.adaptris.core.AdaptrisConnectionImp
com.adaptris.interlok.azure.AzureConnection<com.microsoft.graph.requests.GraphServiceClient<?>>
com.adaptris.interlok.azure.GraphAPIConnection
- All Implemented Interfaces:
AdaptrisComponent,AdaptrisConnection,ComponentLifecycle,ComponentLifecycleExtension,StateManagedComponent
@ComponentProfile(summary="Connect to an Azure tenant and access the Graph API",
tag="connections,azure,graph api,graph")
public class GraphAPIConnection
extends AzureConnection<com.microsoft.graph.requests.GraphServiceClient<?>>
Azure connection to use the Graph API.
-
Field Summary
Fields inherited from class com.adaptris.interlok.azure.AzureConnection
applicationId, clientSecret, tenantIdFields inherited from class com.adaptris.core.AdaptrisConnectionImp
log -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncom.microsoft.graph.requests.GraphServiceClient<?>protected voidprotected voidMethods inherited from class com.adaptris.interlok.azure.AzureConnection
clientSecret, closeConnection, getApplicationId, getClientSecret, getTenantId, prepareConnection, setApplicationId, setClientSecret, setTenantId, stopConnectionMethods inherited from class com.adaptris.core.AdaptrisConnectionImp
addExceptionListener, addMessageConsumer, addMessageProducer, changeState, cloneForTesting, close, connectionErrorHandler, getConnectionErrorHandler, getUniqueId, getWorkersFirstOnShutdown, init, prepare, requestClose, requestInit, requestStart, requestStop, retrieveComponentState, retrieveConnection, retrieveExceptionListeners, retrieveMessageConsumers, retrieveMessageProducers, setConnectionErrorHandler, setUniqueId, setWorkersFirstOnShutdown, start, stop, workersFirstOnShutdown
-
Constructor Details
-
GraphAPIConnection
public GraphAPIConnection()
-
-
Method Details
-
initConnection
- Specified by:
initConnectionin classAdaptrisConnectionImp- Throws:
CoreException
-
startConnection
- Specified by:
startConnectionin classAdaptrisConnectionImp- Throws:
CoreException
-
getClientConnection
public com.microsoft.graph.requests.GraphServiceClient<?> getClientConnection()- Specified by:
getClientConnectionin classAzureConnection<com.microsoft.graph.requests.GraphServiceClient<?>>
-