public class NovaComputeServiceContextModule extends ComputeServiceAdapterContextModule<ServerInRegion,FlavorInRegion,ImageInRegion,Location>
| Modifier and Type | Class and Description |
|---|---|
static class |
NovaComputeServiceContextModule.SecurityGroupExtensionProvider |
ComputeServiceAdapterContextModule.AddDefaultCredentialsToImage, ComputeServiceAdapterContextModule.LocationsFromComputeServiceAdapterModule<N,H,I,L>BaseComputeServiceContextModule.RunScriptOnNodeFactoryImpl| Modifier and Type | Field and Description |
|---|---|
static Map<Image.Status,Image.Status> |
toPortableImageStatus |
static Map<Server.Status,NodeMetadata.Status> |
toPortableNodeStatus |
| Constructor and Description |
|---|
NovaComputeServiceContextModule() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
configure() |
protected com.google.common.base.Supplier<Map<String,Location>> |
createLocationIndexedById(com.google.common.base.Supplier<Set<? extends Location>> locations) |
protected com.google.common.cache.LoadingCache<RegionAndId,Iterable<? extends FloatingIpForServer>> |
instanceToFloatingIps(com.google.common.cache.CacheLoader<RegionAndId,Iterable<? extends FloatingIpForServer>> in) |
protected Map<OsFamily,LoginCredentials> |
osFamilyToCredentials(com.google.inject.Injector injector) |
protected com.google.common.base.Predicate<RegionAndId> |
provideServerRunningPredicate(NovaApi api,
ComputeServiceConstants.Timeouts timeouts,
ComputeServiceConstants.PollPeriod pollPeriod) |
protected com.google.common.base.Predicate<RegionAndId> |
provideServerTerminatedPredicate(NovaApi api,
ComputeServiceConstants.Timeouts timeouts,
ComputeServiceConstants.PollPeriod pollPeriod) |
protected TemplateOptions |
provideTemplateOptions(com.google.inject.Injector injector,
TemplateOptions options) |
protected com.google.common.cache.LoadingCache<RegionAndName,SecurityGroup> |
securityGroupMap(com.google.common.cache.CacheLoader<RegionAndName,SecurityGroup> in) |
protected Map<Image.Status,Image.Status> |
toPortableImageStatus() |
protected Map<Server.Status,NodeMetadata.Status> |
toPortableNodeStatus() |
defineAddNodeWithTagStrategy, defineDestroyNodeStrategy, defineGetImageStrategy, defineGetNodeMetadataStrategy, defineListNodesStrategy, defineRebootNodeStrategy, defineStartNodeStrategy, defineStopNodeStrategy, provideHardware, provideImagesbindCredentialsOverriderFunction, guiceProvideImageExtension, guiceProvideSecurityGroupExtension, guiceProvideTemplateOptions, indexer, provideImageExtension, provideImageMap, provideOsFamilyToCredentials, provideOsVersionMap, provideSecurityGroupExtension, provideSizeMap, provideTemplateOptionallyFromProperties, shouldEagerlyParseImages, supplyImageCache, supplyNonParsingImages, supplySizeCacheaddError, addError, addError, bind, bind, bind, bindConstant, binder, bindInterceptor, bindListener, bindScope, configure, convertToTypes, currentStage, getMembersInjector, getMembersInjector, getProvider, getProvider, install, requestInjection, requestStaticInjection, requireBinding, requireBindingpublic static final Map<Server.Status,NodeMetadata.Status> toPortableNodeStatus
public static final Map<Image.Status,Image.Status> toPortableImageStatus
protected void configure()
configure in class BaseComputeServiceContextModuleprotected TemplateOptions provideTemplateOptions(com.google.inject.Injector injector, TemplateOptions options)
provideTemplateOptions in class BaseComputeServiceContextModule@Provides protected com.google.common.base.Predicate<RegionAndId> provideServerRunningPredicate(NovaApi api, ComputeServiceConstants.Timeouts timeouts, ComputeServiceConstants.PollPeriod pollPeriod)
@Provides protected com.google.common.base.Predicate<RegionAndId> provideServerTerminatedPredicate(NovaApi api, ComputeServiceConstants.Timeouts timeouts, ComputeServiceConstants.PollPeriod pollPeriod)
@Provides @Singleton @Named(value="FLOATINGIP") protected final com.google.common.cache.LoadingCache<RegionAndId,Iterable<? extends FloatingIpForServer>> instanceToFloatingIps(@Named(value="FLOATINGIP") com.google.common.cache.CacheLoader<RegionAndId,Iterable<? extends FloatingIpForServer>> in)
@Provides @Singleton protected final com.google.common.cache.LoadingCache<RegionAndName,SecurityGroup> securityGroupMap(com.google.common.cache.CacheLoader<RegionAndName,SecurityGroup> in)
protected Map<OsFamily,LoginCredentials> osFamilyToCredentials(com.google.inject.Injector injector)
osFamilyToCredentials in class BaseComputeServiceContextModule@Provides @Singleton protected final com.google.common.base.Supplier<Map<String,Location>> createLocationIndexedById(com.google.common.base.Supplier<Set<? extends Location>> locations)
@Singleton @Provides protected final Map<Server.Status,NodeMetadata.Status> toPortableNodeStatus()
@Singleton @Provides protected final Map<Image.Status,Image.Status> toPortableImageStatus()
Copyright © 2009-2018 The Apache Software Foundation. All Rights Reserved.