org.jclouds.rest
Interface ApiContext<A>

All Superinterfaces:
Closeable, Context, Location
All Known Implementing Classes:
ApiContextImpl

public interface ApiContext<A>
extends Context

Represents an authenticated context to the cloud.

Note

Please issue Context.close() when you are finished with this context in order to release resources.


Method Summary
 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


Copyright © 2009-2014 The Apache Software Foundation. All Rights Reserved.