org.jclouds.compute.internal
Class ComputeServiceContextImpl
java.lang.Object
com.google.common.collect.ForwardingObject
org.jclouds.internal.BaseView
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
ComputeServiceContextImpl
@Inject
public ComputeServiceContextImpl(Context backend,
com.google.common.reflect.TypeToken<? extends Context> backendType,
ComputeService computeService,
Utils utils)
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.