public class ComputeServiceAdapterContextModule<S,A,N,H,I,L> extends BaseComputeServiceContextModule
Modifier and Type | Class and 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.
|
Constructor and Description |
---|
ComputeServiceAdapterContextModule(Class<S> syncClientType,
Class<A> asyncClientType) |
indexer, provideImageMap, provideNamingConvention, provideOsVersionMap, provideSizeMap, provideTemplate, provideTemplateOptionallyFromProperties, provideTemplateOptions, shouldParseImagesOnDemand, supplyImageCache, supplyImageCache, supplyNonParsingImageCache, supplySizeCache
addError, addError, addError, bind, bind, bind, bindConstant, binder, bindInterceptor, bindListener, bindScope, configure, convertToTypes, currentStage, getMembersInjector, getMembersInjector, getProvider, getProvider, install, requestInjection, requestStaticInjection, requireBinding, requireBinding
protected void configure()
configure
in class BaseComputeServiceContextModule
@Provides @Singleton protected com.google.common.base.Supplier<Set<? extends Hardware>> provideHardware(ComputeServiceAdapter<N,H,I,L> adapter, com.google.common.base.Function<H,Hardware> transformer)
@Provides @Singleton protected 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)
@Provides @Singleton protected CreateNodeWithGroupEncodedIntoName defineAddNodeWithTagStrategy(AdaptingComputeServiceStrategies<N,H,I,L> in)
@Provides @Singleton protected DestroyNodeStrategy defineDestroyNodeStrategy(AdaptingComputeServiceStrategies<N,H,I,L> in)
@Provides @Singleton protected GetNodeMetadataStrategy defineGetNodeMetadataStrategy(AdaptingComputeServiceStrategies<N,H,I,L> in)
@Provides @Singleton protected ListNodesStrategy defineListNodesStrategy(AdaptingComputeServiceStrategies<N,H,I,L> in)
@Provides @Singleton protected RebootNodeStrategy defineRebootNodeStrategy(AdaptingComputeServiceStrategies<N,H,I,L> in)
@Provides @Singleton protected ResumeNodeStrategy defineStartNodeStrategy(AdaptingComputeServiceStrategies<N,H,I,L> in)
@Provides @Singleton protected SuspendNodeStrategy defineStopNodeStrategy(AdaptingComputeServiceStrategies<N,H,I,L> in)
Copyright © 2009-2012 jclouds. All Rights Reserved.