org.jclouds.vcloud.compute.config
Class VCloudComputeServiceContextModule

java.lang.Object
  extended by com.google.inject.AbstractModule
      extended by org.jclouds.compute.config.BaseComputeServiceContextModule
          extended by org.jclouds.vcloud.compute.config.VCloudComputeServiceContextModule
All Implemented Interfaces:
com.google.inject.Module
Direct Known Subclasses:
GreenHouseDataElementVCloudComputeServiceContextModule, StratoGenVCloudMyCloudComputeServiceContextModule

public class VCloudComputeServiceContextModule
extends BaseComputeServiceContextModule

Configures the VCloudComputeServiceContext; requires VCloudComputeClientImpl bound.

Author:
Adrian Cole

Field Summary
static Map<Status,NodeState> VAPPSTATUS_TO_NODESTATE
           
 
Fields inherited from class org.jclouds.compute.config.BaseComputeServiceContextModule
authException
 
Constructor Summary
VCloudComputeServiceContextModule()
           
 
Method Summary
protected  void configure()
           
 BindComputeStrategiesByClass defineComputeStrategyModule()
           
 BindComputeSuppliersByClass defineComputeSupplierModule()
           
protected  TemplateBuilder provideTemplate(com.google.inject.Injector injector, TemplateBuilder template)
          The default template if none is provided.
protected  Map<Status,NodeState> provideVAppStatusToNodeState()
           
 
Methods inherited from class org.jclouds.compute.config.BaseComputeServiceContextModule
indexer, provideImageMap, provideNamingConvention, provideOsVersionMap, provideSizeMap, provideTemplateOptions, supplyImageCache, 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

VAPPSTATUS_TO_NODESTATE

public static final Map<Status,NodeState> VAPPSTATUS_TO_NODESTATE
Constructor Detail

VCloudComputeServiceContextModule

public VCloudComputeServiceContextModule()
Method Detail

provideVAppStatusToNodeState

@Singleton
@Provides
protected Map<Status,NodeState> provideVAppStatusToNodeState()

configure

protected void configure()
Overrides:
configure in class BaseComputeServiceContextModule

provideTemplate

protected TemplateBuilder provideTemplate(com.google.inject.Injector injector,
                                          TemplateBuilder template)
Description copied from class: BaseComputeServiceContextModule
The default template if none is provided.

Overrides:
provideTemplate in class BaseComputeServiceContextModule

defineComputeStrategyModule

public BindComputeStrategiesByClass defineComputeStrategyModule()

defineComputeSupplierModule

public BindComputeSuppliersByClass defineComputeSupplierModule()


Copyright © 2009-2011 jclouds. All Rights Reserved.