Package org.jclouds.compute.config
Class JCloudsNativeComputeServiceAdapterContextModule
- java.lang.Object
-
- com.google.inject.AbstractModule
-
- org.jclouds.compute.config.BaseComputeServiceContextModule
-
- org.jclouds.compute.config.ComputeServiceAdapterContextModule<NodeMetadata,Hardware,Image,Location>
-
- org.jclouds.compute.config.JCloudsNativeComputeServiceAdapterContextModule
-
- All Implemented Interfaces:
com.google.inject.Module
- Direct Known Subclasses:
BYONComputeServiceContextModule
,StubComputeServiceContextModule
public class JCloudsNativeComputeServiceAdapterContextModule extends ComputeServiceAdapterContextModule<NodeMetadata,Hardware,Image,Location>
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.jclouds.compute.config.ComputeServiceAdapterContextModule
ComputeServiceAdapterContextModule.AddDefaultCredentialsToImage, ComputeServiceAdapterContextModule.LocationsFromComputeServiceAdapterModule<N,H,I,L>
-
Nested classes/interfaces inherited from class org.jclouds.compute.config.BaseComputeServiceContextModule
BaseComputeServiceContextModule.RunScriptOnNodeFactoryImpl
-
-
Field Summary
Fields Modifier and Type Field Description protected Class<? extends ComputeServiceAdapter<NodeMetadata,Hardware,Image,Location>>
adapter
-
Constructor Summary
Constructors Constructor Description JCloudsNativeComputeServiceAdapterContextModule(Class<? extends ComputeServiceAdapter<NodeMetadata,Hardware,Image,Location>> adapter)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
configure()
This binds the converters toIdentityFunction
as that ensure the same value is returned.-
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, guiceProvideImageExtension, guiceProvideSecurityGroupExtension, guiceProvideTemplateOptions, indexer, osFamilyToCredentials, provideImageExtension, provideImageMap, provideOsFamilyToCredentials, provideOsVersionMap, provideSecurityGroupExtension, provideSizeMap, provideTemplateOptionallyFromProperties, provideTemplateOptions, shouldEagerlyParseImages, supplyImageCache, supplyNonParsingImages, supplySizeCache
-
Methods inherited from class com.google.inject.AbstractModule
addError, addError, addError, bind, bind, bind, bindConstant, binder, bindInterceptor, bindListener, bindListener, bindScope, configure, convertToTypes, currentStage, getMembersInjector, getMembersInjector, getProvider, getProvider, install, requestInjection, requestStaticInjection, requireBinding, requireBinding
-
-
-
-
Field Detail
-
adapter
protected final Class<? extends ComputeServiceAdapter<NodeMetadata,Hardware,Image,Location>> adapter
-
-
Constructor Detail
-
JCloudsNativeComputeServiceAdapterContextModule
public JCloudsNativeComputeServiceAdapterContextModule(Class<? extends ComputeServiceAdapter<NodeMetadata,Hardware,Image,Location>> adapter)
-
-
Method Detail
-
configure
protected void configure()
This binds the converters toIdentityFunction
as that ensure the same value is returned.- Overrides:
configure
in classBaseComputeServiceContextModule
-
-