org.jclouds.openstack.nova.compute.config
Class NovaComputeServiceContextModule

java.lang.Object
  extended by com.google.inject.AbstractModule
      extended by org.jclouds.compute.config.BaseComputeServiceContextModule
          extended by org.jclouds.compute.config.ComputeServiceAdapterContextModule<Server,Flavor,Image,Location>
              extended by org.jclouds.openstack.nova.compute.config.NovaComputeServiceContextModule
All Implemented Interfaces:
com.google.inject.Module

public class NovaComputeServiceContextModule
extends ComputeServiceAdapterContextModule<Server,Flavor,Image,Location>

Configures the NovaComputeServiceContext; 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<ImageStatus,Image.Status> toPortableImageStatus
           
static Map<ServerStatus,NodeMetadata.Status> toPortableNodeStatus
           
 
Constructor Summary
NovaComputeServiceContextModule()
           
 
Method Summary
protected  void configure()
           
 
Methods inherited from class org.jclouds.compute.config.ComputeServiceAdapterContextModule
defineAddNodeWithTagStrategy, defineDestroyNodeStrategy, defineGetImageStrategy, defineGetNodeMetadataStrategy, defineListNodesStrategy, defineRebootNodeStrategy, defineStartNodeStrategy, defineStopNodeStrategy, provideHardware, provideImages
 
Methods inherited from class org.jclouds.compute.config.BaseComputeServiceContextModule
bindCredentialsOverriderFunction, indexer, osFamilyToCredentials, provideImageExtension, provideImageMap, provideOsVersionMap, provideSizeMap, provideTemplateOptionallyFromProperties, provideTemplateOptions, shouldEagerlyParseImages, 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

toPortableNodeStatus

public static final Map<ServerStatus,NodeMetadata.Status> toPortableNodeStatus

toPortableImageStatus

public static final Map<ImageStatus,Image.Status> toPortableImageStatus
Constructor Detail

NovaComputeServiceContextModule

public NovaComputeServiceContextModule()
Method Detail

configure

protected void configure()
Overrides:
configure in class BaseComputeServiceContextModule


Copyright © 2009-2012 jclouds. All Rights Reserved.