Package org.jclouds.rest
Interface ApiContext<A>
- All Superinterfaces:
AutoCloseable
,Closeable
,Context
,Location
- All Known Implementing Classes:
ApiContextImpl
Represents an authenticated context to the cloud.
Note
Please issueContext.close()
when you are finished with this context in order to
release resources.-
Method Summary
Methods inherited from interface org.jclouds.Context
close, getIdentity, getName, getProviderMetadata, isOpen, utils
Methods inherited from interface org.jclouds.domain.Location
getDescription, getId, getIso3166Codes, getMetadata, getParent, getScope
-
Method Details
-
getApi
A getApi()low-level api to the cloud. Threadsafe implementations will return a singleton.- Returns:
- a connection to the cloud where all methods block
-