public class NovaComputeServiceContextModule extends org.jclouds.compute.config.ComputeServiceAdapterContextModule<ServerInZone,FlavorInZone,ImageInZone,org.jclouds.domain.Location>
org.jclouds.compute.config.ComputeServiceAdapterContextModule.AddDefaultCredentialsToImage, org.jclouds.compute.config.ComputeServiceAdapterContextModule.LocationsFromComputeServiceAdapterModule<N,H,I,L>| Modifier and Type | Field and Description |
|---|---|
static Map<Image.Status,org.jclouds.compute.domain.Image.Status> |
toPortableImageStatus |
static Map<Server.Status,org.jclouds.compute.domain.NodeMetadata.Status> |
toPortableNodeStatus |
| Constructor and Description |
|---|
NovaComputeServiceContextModule() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
configure() |
protected com.google.common.base.Supplier<Map<String,org.jclouds.domain.Location>> |
createLocationIndexedById(com.google.common.base.Supplier<Set<? extends org.jclouds.domain.Location>> locations) |
protected com.google.common.cache.LoadingCache<ZoneAndId,Iterable<? extends FloatingIP>> |
instanceToFloatingIps(com.google.common.cache.CacheLoader<ZoneAndId,Iterable<? extends FloatingIP>> in) |
protected com.google.common.cache.LoadingCache<ZoneAndName,KeyPair> |
keyPairMap(com.google.common.cache.CacheLoader<ZoneAndName,KeyPair> in) |
protected Map<org.jclouds.compute.domain.OsFamily,org.jclouds.domain.LoginCredentials> |
osFamilyToCredentials(com.google.inject.Injector injector) |
protected com.google.common.base.Optional<org.jclouds.compute.extensions.ImageExtension> |
provideImageExtension(com.google.inject.Injector i) |
protected org.jclouds.compute.options.TemplateOptions |
provideTemplateOptions(com.google.inject.Injector injector,
org.jclouds.compute.options.TemplateOptions options) |
protected com.google.common.base.Predicate<AtomicReference<ZoneAndName>> |
securityGroupEventualConsistencyDelay(FindSecurityGroupWithNameAndReturnTrue in,
long msDelay) |
protected com.google.common.cache.LoadingCache<ZoneAndName,SecurityGroupInZone> |
securityGroupMap(com.google.common.cache.CacheLoader<ZoneAndName,SecurityGroupInZone> in) |
protected Map<Image.Status,org.jclouds.compute.domain.Image.Status> |
toPortableImageStatus() |
protected Map<Server.Status,org.jclouds.compute.domain.NodeMetadata.Status> |
toPortableNodeStatus() |
defineAddNodeWithTagStrategy, defineDestroyNodeStrategy, defineGetImageStrategy, defineGetNodeMetadataStrategy, defineListNodesStrategy, defineRebootNodeStrategy, defineStartNodeStrategy, defineStopNodeStrategy, provideHardware, provideImagesbindCredentialsOverriderFunction, indexer, provideImageMap, provideOsVersionMap, provideSizeMap, provideTemplateOptionallyFromProperties, shouldEagerlyParseImages, supplyImageCache, supplyImageCache, supplyNonParsingImageCache, 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,org.jclouds.compute.domain.NodeMetadata.Status> toPortableNodeStatus
public static final Map<Image.Status,org.jclouds.compute.domain.Image.Status> toPortableImageStatus
protected void configure()
configure in class org.jclouds.compute.config.BaseComputeServiceContextModuleprotected org.jclouds.compute.options.TemplateOptions provideTemplateOptions(com.google.inject.Injector injector,
org.jclouds.compute.options.TemplateOptions options)
provideTemplateOptions in class org.jclouds.compute.config.BaseComputeServiceContextModule@Provides @Singleton @Named(value="FLOATINGIP") protected com.google.common.cache.LoadingCache<ZoneAndId,Iterable<? extends FloatingIP>> instanceToFloatingIps(@Named(value="FLOATINGIP") com.google.common.cache.CacheLoader<ZoneAndId,Iterable<? extends FloatingIP>> in)
@Provides @Singleton protected com.google.common.cache.LoadingCache<ZoneAndName,SecurityGroupInZone> securityGroupMap(com.google.common.cache.CacheLoader<ZoneAndName,SecurityGroupInZone> in)
protected Map<org.jclouds.compute.domain.OsFamily,org.jclouds.domain.LoginCredentials> osFamilyToCredentials(com.google.inject.Injector injector)
osFamilyToCredentials in class org.jclouds.compute.config.BaseComputeServiceContextModule@Provides @Singleton @Named(value="jclouds.openstack-nova.timeout.securitygroup-present") protected com.google.common.base.Predicate<AtomicReference<ZoneAndName>> securityGroupEventualConsistencyDelay(FindSecurityGroupWithNameAndReturnTrue in, @Named(value="jclouds.openstack-nova.timeout.securitygroup-present") long msDelay)
@Provides @Singleton protected com.google.common.cache.LoadingCache<ZoneAndName,KeyPair> keyPairMap(com.google.common.cache.CacheLoader<ZoneAndName,KeyPair> in)
@Provides @Singleton protected com.google.common.base.Supplier<Map<String,org.jclouds.domain.Location>> createLocationIndexedById(com.google.common.base.Supplier<Set<? extends org.jclouds.domain.Location>> locations)
@Singleton @Provides protected Map<Server.Status,org.jclouds.compute.domain.NodeMetadata.Status> toPortableNodeStatus()
@Singleton @Provides protected Map<Image.Status,org.jclouds.compute.domain.Image.Status> toPortableImageStatus()
protected com.google.common.base.Optional<org.jclouds.compute.extensions.ImageExtension> provideImageExtension(com.google.inject.Injector i)
provideImageExtension in class org.jclouds.compute.config.BaseComputeServiceContextModuleCopyright © 2009-2014 The Apache Software Foundation. All Rights Reserved.