org.jclouds.compute
Interface ComputeServiceContext

All Known Implementing Classes:
ComputeServiceContextImpl

public interface ComputeServiceContext

Represents a cloud that has compute functionality.

Author:
Adrian Cole

Method Summary
 void close()
           
 Map<String,Credentials> credentialStore()
           
 ComputeService getComputeService()
           
 Map<String,Credentials> getCredentialStore()
          retrieves a list of credentials for resources created within this context, keyed on id of the resource with a namespace prefix (ex.
<S,A> RestContext<S,A>
getProviderSpecificContext()
           
 Utils getUtils()
           
 Utils utils()
           
 

Method Detail

getComputeService

ComputeService getComputeService()

getProviderSpecificContext

<S,A> RestContext<S,A> getProviderSpecificContext()

getCredentialStore

@Beta
Map<String,Credentials> getCredentialStore()
retrieves a list of credentials for resources created within this context, keyed on id of the resource with a namespace prefix (ex. node#. We are testing this approach for resources such as compute nodes, where you could access this externally.

accessing credentials for a node

the key is in the form node#id.


credentialStore

@Beta
Map<String,Credentials> credentialStore()
See Also:
getCredentialStore()

getUtils

Utils getUtils()

utils

Utils utils()
See Also:
getUtils()

close

void close()


Copyright © 2009-2011 jclouds. All Rights Reserved.