org.jclouds.compute.config
Class JCloudsNativeComputeServiceAdapterContextModule<S,A>

java.lang.Object
  extended by com.google.inject.AbstractModule
      extended by org.jclouds.compute.config.BaseComputeServiceContextModule
          extended by org.jclouds.compute.config.ComputeServiceAdapterContextModule<S,A,NodeMetadata,Hardware,Image,Location>
              extended by org.jclouds.compute.config.JCloudsNativeComputeServiceAdapterContextModule<S,A>
All Implemented Interfaces:
com.google.inject.Module
Direct Known Subclasses:
BYONComputeServiceContextModule, StubComputeServiceContextModule

public class JCloudsNativeComputeServiceAdapterContextModule<S,A>
extends ComputeServiceAdapterContextModule<S,A,NodeMetadata,Hardware,Image,Location>

Author:
Adrian Cole

Field Summary
protected  Class<? extends ComputeServiceAdapter<NodeMetadata,Hardware,Image,Location>> adapter
           
 
Fields inherited from class org.jclouds.compute.config.BaseComputeServiceContextModule
authException
 
Constructor Summary
JCloudsNativeComputeServiceAdapterContextModule(Class<S> syncClientType, Class<A> asyncClientType, Class<? extends ComputeServiceAdapter<NodeMetadata,Hardware,Image,Location>> adapter)
           
 
Method Summary
protected  void configure()
          This binds the converters to IdentityFunction as that ensure the same value is returned.
 
Methods inherited from class org.jclouds.compute.config.ComputeServiceAdapterContextModule
defineAddNodeWithTagStrategy, defineDestroyNodeStrategy, defineGetNodeMetadataStrategy, defineListNodesStrategy, defineRebootNodeStrategy, defineStartNodeStrategy, defineStopNodeStrategy, provideHardware, provideImages, provideLocations
 
Methods inherited from class org.jclouds.compute.config.BaseComputeServiceContextModule
indexer, provideImageMap, provideNamingConvention, provideOsVersionMap, provideSizeMap, provideTemplate, 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

adapter

protected final Class<? extends ComputeServiceAdapter<NodeMetadata,Hardware,Image,Location>> adapter
Constructor Detail

JCloudsNativeComputeServiceAdapterContextModule

public JCloudsNativeComputeServiceAdapterContextModule(Class<S> syncClientType,
                                                       Class<A> asyncClientType,
                                                       Class<? extends ComputeServiceAdapter<NodeMetadata,Hardware,Image,Location>> adapter)
Method Detail

configure

protected void configure()
This binds the converters to IdentityFunction as that ensure the same value is returned.

Overrides:
configure in class ComputeServiceAdapterContextModule<S,A,NodeMetadata,Hardware,Image,Location>


Copyright © 2009-2011 jclouds. All Rights Reserved.