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
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
static class
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 -
Method Summary
Modifier and TypeMethodDescriptionprotected final CreateNodeWithGroupEncodedIntoName
protected final DestroyNodeStrategy
protected final GetImageStrategy
protected final GetNodeMetadataStrategy
protected final ListNodesStrategy
protected final RebootNodeStrategy
protected final ResumeNodeStrategy
protected final SuspendNodeStrategy
provideHardware
(ComputeServiceAdapter<N, H, I, L> adapter, com.google.common.base.Function<H, Hardware> transformer) provideImages
(ComputeServiceAdapter<N, H, I, L> adapter, com.google.common.base.Function<I, Image> transformer, ComputeServiceAdapterContextModule.AddDefaultCredentialsToImage addDefaultCredentialsToImage) 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, requestInjection, requestStaticInjection, requireBinding, requireBinding
-
Constructor Details
-
ComputeServiceAdapterContextModule
public ComputeServiceAdapterContextModule()
-
-
Method Details
-
provideHardware
-
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)
-