org.jclouds.compute.internal
Class ComputeServiceContextImpl

java.lang.Object
  extended by com.google.common.collect.ForwardingObject
      extended by org.jclouds.internal.BaseView
          extended by org.jclouds.compute.internal.ComputeServiceContextImpl
All Implemented Interfaces:
Closeable, ComputeServiceContext, View
Direct Known Subclasses:
CloudStackContextImpl, EC2ComputeServiceContextImpl, NodePoolComputeServiceContext

@Singleton
public class ComputeServiceContextImpl
extends BaseView
implements ComputeServiceContext

Author:
Adrian Cole

Constructor Summary
ComputeServiceContextImpl(Context backend, com.google.common.reflect.TypeToken<? extends Context> backendType, ComputeService computeService, Utils utils)
           
 
Method Summary
 void close()
           
 Map<String,Credentials> credentialStore()
          will be removed in jclouds 1.6
 ComputeService getComputeService()
           
 Map<String,Credentials> getCredentialStore()
          will be removed in jclouds 1.6
<S,A> RestContext<S,A>
getProviderSpecificContext()
          will be removed in jclouds 1.6
 Utils getUtils()
           
 Utils utils()
           
 
Methods inherited from class org.jclouds.internal.BaseView
delegate, equals, getBackendType, hashCode, string, toString, unwrap, unwrap, unwrap
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.jclouds.View
getBackendType, unwrap, unwrap, unwrap
 

Constructor Detail

ComputeServiceContextImpl

@Inject
public ComputeServiceContextImpl(Context backend,
                                        com.google.common.reflect.TypeToken<? extends Context> backendType,
                                        ComputeService computeService,
                                        Utils utils)
Method Detail

getComputeService

public ComputeService getComputeService()
Specified by:
getComputeService in interface ComputeServiceContext

getProviderSpecificContext

public <S,A> RestContext<S,A> getProviderSpecificContext()
Description copied from interface: ComputeServiceContext
will be removed in jclouds 1.6

Specified by:
getProviderSpecificContext in interface ComputeServiceContext
See Also:
View#getInputType, View.unwrap(com.google.common.reflect.TypeToken)

close

public void close()
Specified by:
close in interface Closeable
Specified by:
close in interface ComputeServiceContext

getUtils

public Utils getUtils()
Specified by:
getUtils in interface ComputeServiceContext

utils

public Utils utils()
Specified by:
utils in interface ComputeServiceContext
See Also:
ComputeServiceContext.getUtils()

credentialStore

public Map<String,Credentials> credentialStore()
Description copied from interface: ComputeServiceContext
will be removed in jclouds 1.6

Specified by:
credentialStore in interface ComputeServiceContext
See Also:
Utils.credentialStore()

getCredentialStore

public Map<String,Credentials> getCredentialStore()
Description copied from interface: ComputeServiceContext
will be removed in jclouds 1.6

Specified by:
getCredentialStore in interface ComputeServiceContext
See Also:
Utils.getCredentialStore()


Copyright © 2009-2012 jclouds. All Rights Reserved.