org.jclouds.slicehost.compute.config
Class SlicehostComputeServiceContextModule

java.lang.Object
  extended by com.google.inject.AbstractModule
      extended by org.jclouds.compute.config.BaseComputeServiceContextModule
          extended by org.jclouds.compute.config.ComputeServiceAdapterContextModule<SlicehostClient,SlicehostAsyncClient,Slice,Flavor,Image,Location>
              extended by org.jclouds.slicehost.compute.config.SlicehostComputeServiceContextModule
All Implemented Interfaces:
com.google.inject.Module

public class SlicehostComputeServiceContextModule
extends ComputeServiceAdapterContextModule<SlicehostClient,SlicehostAsyncClient,Slice,Flavor,Image,Location>

Configures the SlicehostComputeServiceContext; requires BaseComputeService bound.

Author:
Adrian Cole

Nested Class Summary
 
Nested classes/interfaces inherited from class org.jclouds.compute.config.ComputeServiceAdapterContextModule
ComputeServiceAdapterContextModule.AddDefaultCredentialsToImage, ComputeServiceAdapterContextModule.LocationsFromComputeServiceAdapterModule<N,H,I,L>
 
Field Summary
static Map<Slice.Status,NodeState> sliceStatusToNodeState
           
 
Constructor Summary
SlicehostComputeServiceContextModule()
           
 
Method Summary
protected  void configure()
           
protected  TemplateBuilder provideTemplate(com.google.inject.Injector injector, TemplateBuilder template)
           
 
Methods inherited from class org.jclouds.compute.config.ComputeServiceAdapterContextModule
defineAddNodeWithTagStrategy, defineDestroyNodeStrategy, defineGetNodeMetadataStrategy, defineListNodesStrategy, defineRebootNodeStrategy, defineStartNodeStrategy, defineStopNodeStrategy, provideHardware, provideImages
 
Methods inherited from class org.jclouds.compute.config.BaseComputeServiceContextModule
indexer, provideImageMap, provideNamingConvention, provideOsVersionMap, provideSizeMap, provideTemplateOptionallyFromProperties, provideTemplateOptions, shouldParseImagesOnDemand, supplyImageCache, supplyImageCache, supplyNonParsingImageCache, supplySizeCache
 
Methods inherited from class com.google.inject.AbstractModule
addError, addError, addError, bind, bind, bind, bindConstant, binder, bindInterceptor, bindListener, bindScope, configure, convertToTypes, currentStage, getMembersInjector, getMembersInjector, getProvider, getProvider, install, requestInjection, requestStaticInjection, requireBinding, requireBinding
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

sliceStatusToNodeState

public static final Map<Slice.Status,NodeState> sliceStatusToNodeState
Constructor Detail

SlicehostComputeServiceContextModule

public SlicehostComputeServiceContextModule()
Method Detail

configure

protected void configure()
Overrides:
configure in class ComputeServiceAdapterContextModule<SlicehostClient,SlicehostAsyncClient,Slice,Flavor,Image,Location>

provideTemplate

protected TemplateBuilder provideTemplate(com.google.inject.Injector injector,
                                          TemplateBuilder template)
Overrides:
provideTemplate in class BaseComputeServiceContextModule


Copyright © 2009-2012 jclouds. All Rights Reserved.