public class EC2ComputeServiceContextModule extends BaseComputeServiceContextModule
ComputeServiceContext
; requires EC2ComputeService
bound.BaseComputeServiceContextModule.RunScriptOnNodeFactoryImpl
Constructor and Description |
---|
EC2ComputeServiceContextModule() |
Modifier and Type | Method and Description |
---|---|
protected void |
configure() |
protected com.google.common.base.Supplier<com.google.common.cache.CacheLoader<RegionAndName,Image>> |
guiceProvideRegionAndNameToImageSupplierCacheLoader(RegionAndIdToImage delegate) |
protected void |
installDependencies() |
protected com.google.common.base.Supplier<com.google.common.cache.LoadingCache<RegionAndName,? extends Image>> |
provideRegionAndNameToImageSupplierCache(RegionAndNameToImageSupplier supplier) |
protected com.google.common.base.Supplier<com.google.common.cache.CacheLoader<RegionAndName,Image>> |
provideRegionAndNameToImageSupplierCacheLoader(RegionAndIdToImage delegate) |
protected boolean |
shouldEagerlyParseImages(com.google.inject.Injector injector) |
protected com.google.common.base.Supplier<Set<? extends Image>> |
supplyNonParsingImages(com.google.common.base.Supplier<Set<? extends Image>> imageSupplier,
com.google.inject.Injector injector)
For overriding; default impl just returns the image supplier.
|
bindCredentialsOverriderFunction, guiceProvideImageExtension, guiceProvideSecurityGroupExtension, guiceProvideTemplateOptions, indexer, osFamilyToCredentials, provideImageExtension, provideImageMap, provideOsFamilyToCredentials, provideOsVersionMap, provideSecurityGroupExtension, provideSizeMap, provideTemplateOptionallyFromProperties, provideTemplateOptions, supplyImageCache, 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
protected void installDependencies()
protected boolean shouldEagerlyParseImages(com.google.inject.Injector injector)
shouldEagerlyParseImages
in class BaseComputeServiceContextModule
protected com.google.common.base.Supplier<Set<? extends Image>> supplyNonParsingImages(com.google.common.base.Supplier<Set<? extends Image>> imageSupplier, com.google.inject.Injector injector)
BaseComputeServiceContextModule
supplyNonParsingImages
in class BaseComputeServiceContextModule
@Provides @Singleton protected final com.google.common.base.Supplier<com.google.common.cache.LoadingCache<RegionAndName,? extends Image>> provideRegionAndNameToImageSupplierCache(RegionAndNameToImageSupplier supplier)
@Provides @Singleton protected final com.google.common.base.Supplier<com.google.common.cache.CacheLoader<RegionAndName,Image>> guiceProvideRegionAndNameToImageSupplierCacheLoader(RegionAndIdToImage delegate)
protected com.google.common.base.Supplier<com.google.common.cache.CacheLoader<RegionAndName,Image>> provideRegionAndNameToImageSupplierCacheLoader(RegionAndIdToImage delegate)
Copyright © 2009-2016 The Apache Software Foundation. All Rights Reserved.