Package 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,AutoCloseable,ComputeServiceContext,View
- Direct Known Subclasses:
CloudStackContextImpl,EC2ComputeServiceContextImpl
@Singleton public class ComputeServiceContextImpl extends BaseView implements ComputeServiceContext
-
-
Constructor Summary
Constructors Constructor Description ComputeServiceContextImpl(Context backend, com.google.common.reflect.TypeToken<? extends Context> backendType, ComputeService computeService, Utils utils)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclose()ComputeServicegetComputeService()Utilsutils()-
Methods inherited from class org.jclouds.internal.BaseView
delegate, equals, getBackendType, hashCode, string, toString, unwrap, unwrap, unwrapApi
-
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, unwrapApi
-
-
-
-
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:
getComputeServicein interfaceComputeServiceContext
-
close
public void close()
- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Specified by:
closein interfaceComputeServiceContext
-
utils
public Utils utils()
- Specified by:
utilsin interfaceComputeServiceContext
-
-