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 void
close()
ComputeService
getComputeService()
Utils
utils()
-
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:
getComputeService
in interfaceComputeServiceContext
-
close
public void close()
- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceCloseable
- Specified by:
close
in interfaceComputeServiceContext
-
utils
public Utils utils()
- Specified by:
utils
in interfaceComputeServiceContext
-
-