Package org.jclouds.rest
Interface ApiContext<A>
-
- All Superinterfaces:
AutoCloseable
,Closeable
,Context
,Location
- All Known Implementing Classes:
ApiContextImpl
public interface ApiContext<A> extends Context
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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description A
getApi()
low-level api to the cloud.-
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 Detail
-
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
-
-