Package org.jclouds.compute.config
Class ComputeServiceAdapterContextModule<N,H,I,L>
- java.lang.Object
-
- com.google.inject.AbstractModule
-
- org.jclouds.compute.config.BaseComputeServiceContextModule
-
- org.jclouds.compute.config.ComputeServiceAdapterContextModule<N,H,I,L>
-
- All Implemented Interfaces:
com.google.inject.Module
- Direct Known Subclasses:
AzureComputeServiceContextModule
,CloudStackComputeServiceContextModule
,DigitalOcean2ComputeServiceContextModule
,DockerComputeServiceContextModule
,ElasticStackComputeServiceContextModule
,GleSYSComputeServiceContextModule
,GoGridComputeServiceContextModule
,GoogleComputeEngineServiceContextModule
,JCloudsNativeComputeServiceAdapterContextModule
,NovaComputeServiceContextModule
,PacketComputeServiceContextModule
,ProfitBricksComputeServiceContextModule
,ServerManagerComputeServiceContextModule
,SoftLayerComputeServiceContextModule
public class ComputeServiceAdapterContextModule<N,H,I,L> extends BaseComputeServiceContextModule
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ComputeServiceAdapterContextModule.AddDefaultCredentialsToImage
static class
ComputeServiceAdapterContextModule.LocationsFromComputeServiceAdapterModule<N,H,I,L>
install this, if you want to use your computeservice adapter to handle locations.-
Nested classes/interfaces inherited from class org.jclouds.compute.config.BaseComputeServiceContextModule
BaseComputeServiceContextModule.RunScriptOnNodeFactoryImpl
-
-
Constructor Summary
Constructors Constructor Description ComputeServiceAdapterContextModule()
-
Method Summary
-
Methods inherited from class org.jclouds.compute.config.BaseComputeServiceContextModule
bindCredentialsOverriderFunction, configure, 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
-
-
-
-
Method Detail
-
provideHardware
@Provides @Singleton protected final com.google.common.base.Supplier<Set<? extends Hardware>> provideHardware(ComputeServiceAdapter<N,H,I,L> adapter, com.google.common.base.Function<H,Hardware> transformer)
-
provideImages
@Provides @Singleton protected final com.google.common.base.Supplier<Set<? extends Image>> provideImages(ComputeServiceAdapter<N,H,I,L> adapter, com.google.common.base.Function<I,Image> transformer, ComputeServiceAdapterContextModule.AddDefaultCredentialsToImage addDefaultCredentialsToImage)
-
defineAddNodeWithTagStrategy
@Provides @Singleton protected final CreateNodeWithGroupEncodedIntoName defineAddNodeWithTagStrategy(AdaptingComputeServiceStrategies<N,H,I,L> in)
-
defineDestroyNodeStrategy
@Provides @Singleton protected final DestroyNodeStrategy defineDestroyNodeStrategy(AdaptingComputeServiceStrategies<N,H,I,L> in)
-
defineGetNodeMetadataStrategy
@Provides @Singleton protected final GetNodeMetadataStrategy defineGetNodeMetadataStrategy(AdaptingComputeServiceStrategies<N,H,I,L> in)
-
defineGetImageStrategy
@Provides @Singleton protected final GetImageStrategy defineGetImageStrategy(AdaptingComputeServiceStrategies<N,H,I,L> in)
-
defineListNodesStrategy
@Provides @Singleton protected final ListNodesStrategy defineListNodesStrategy(AdaptingComputeServiceStrategies<N,H,I,L> in)
-
defineRebootNodeStrategy
@Provides @Singleton protected final RebootNodeStrategy defineRebootNodeStrategy(AdaptingComputeServiceStrategies<N,H,I,L> in)
-
defineStartNodeStrategy
@Provides @Singleton protected final ResumeNodeStrategy defineStartNodeStrategy(AdaptingComputeServiceStrategies<N,H,I,L> in)
-
defineStopNodeStrategy
@Provides @Singleton protected final SuspendNodeStrategy defineStopNodeStrategy(AdaptingComputeServiceStrategies<N,H,I,L> in)
-
-