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, tenantId
-
Fields inherited from class com.adaptris.core.AdaptrisConnectionImp
log
-
-
Constructor Summary
Constructors Constructor Description GraphAPIConnection()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description com.microsoft.graph.requests.GraphServiceClient<?>getClientConnection()protected voidinitConnection()protected voidstartConnection()-
Methods inherited from class com.adaptris.interlok.azure.AzureConnection
clientSecret, closeConnection, getApplicationId, getClientSecret, getTenantId, prepareConnection, setApplicationId, setClientSecret, setTenantId, stopConnection
-
Methods 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
-
-
-
-
Method Detail
-
initConnection
protected void initConnection() throws CoreException- Specified by:
initConnectionin classAdaptrisConnectionImp- Throws:
CoreException
-
startConnection
protected void startConnection() throws CoreException- Specified by:
startConnectionin classAdaptrisConnectionImp- Throws:
CoreException
-
getClientConnection
public com.microsoft.graph.requests.GraphServiceClient<?> getClientConnection()
- Specified by:
getClientConnectionin classAzureConnection<com.microsoft.graph.requests.GraphServiceClient<?>>
-
-