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
FieldsModifier and TypeFieldDescriptionprotected final Class<? extends ComputeServiceAdapter<NodeMetadata, Hardware, Image, Location>> -
Constructor Summary
ConstructorsConstructorDescriptionJCloudsNativeComputeServiceAdapterContextModule(Class<? extends ComputeServiceAdapter<NodeMetadata, Hardware, Image, Location>> adapter) -
Method Summary
Modifier and TypeMethodDescriptionprotected voidThis binds the converters toIdentityFunctionas 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, provideImagesMethods 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, supplySizeCacheMethods 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 Details
-
adapter
protected final Class<? extends ComputeServiceAdapter<NodeMetadata,Hardware, adapterImage, Location>>
-
-
Constructor Details
-
JCloudsNativeComputeServiceAdapterContextModule
public JCloudsNativeComputeServiceAdapterContextModule(Class<? extends ComputeServiceAdapter<NodeMetadata, Hardware, Image, Location>> adapter)
-
-
Method Details
-
configure
protected void configure()This binds the converters toIdentityFunctionas that ensure the same value is returned.- Overrides:
configurein classBaseComputeServiceContextModule
-