Class GoogleComputeEngineServiceContextModule
- java.lang.Object
-
- com.google.inject.AbstractModule
-
- org.jclouds.compute.config.BaseComputeServiceContextModule
-
- org.jclouds.compute.config.ComputeServiceAdapterContextModule<Instance,MachineType,Image,Location>
-
- org.jclouds.googlecomputeengine.compute.config.GoogleComputeEngineServiceContextModule
-
- All Implemented Interfaces:
com.google.inject.Module
public final class GoogleComputeEngineServiceContextModule extends ComputeServiceAdapterContextModule<Instance,MachineType,Image,Location>
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.jclouds.compute.config.ComputeServiceAdapterContextModule
ComputeServiceAdapterContextModule.AddDefaultCredentialsToImage, ComputeServiceAdapterContextModule.LocationsFromComputeServiceAdapterModule<N,H,I,L>
-
Nested classes/interfaces inherited from class org.jclouds.compute.config.BaseComputeServiceContextModule
BaseComputeServiceContextModule.RunScriptOnNodeFactoryImpl
-
-
Constructor Summary
Constructors Constructor Description GoogleComputeEngineServiceContextModule()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
configure()
protected com.google.common.cache.LoadingCache<URI,com.google.common.base.Optional<Image>>
diskURIToImageMap(com.google.common.cache.CacheLoader<URI,com.google.common.base.Optional<Image>> in)
protected Map<OsFamily,LoginCredentials>
osFamilyToCredentials(com.google.inject.Injector injector)
protected com.google.common.cache.LoadingCache<RegionAndName,com.google.common.base.Optional<Subnetwork>>
subnetworksMap(com.google.common.cache.CacheLoader<RegionAndName,com.google.common.base.Optional<Subnetwork>> in)
-
Methods inherited from class org.jclouds.compute.config.ComputeServiceAdapterContextModule
defineAddNodeWithTagStrategy, defineDestroyNodeStrategy, defineGetImageStrategy, defineGetNodeMetadataStrategy, defineListNodesStrategy, defineRebootNodeStrategy, defineStartNodeStrategy, defineStopNodeStrategy, provideHardware, provideImages
-
Methods inherited from class org.jclouds.compute.config.BaseComputeServiceContextModule
bindCredentialsOverriderFunction, guiceProvideImageExtension, guiceProvideSecurityGroupExtension, guiceProvideTemplateOptions, indexer, 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, requestStaticInjection, requireBinding, requireBinding
-
-
-
-
Method Detail
-
configure
protected void configure()
- Overrides:
configure
in classBaseComputeServiceContextModule
-
osFamilyToCredentials
protected Map<OsFamily,LoginCredentials> osFamilyToCredentials(com.google.inject.Injector injector)
- Overrides:
osFamilyToCredentials
in classBaseComputeServiceContextModule
-
diskURIToImageMap
@Provides @Singleton protected com.google.common.cache.LoadingCache<URI,com.google.common.base.Optional<Image>> diskURIToImageMap(com.google.common.cache.CacheLoader<URI,com.google.common.base.Optional<Image>> in)
-
subnetworksMap
@Provides @Singleton protected com.google.common.cache.LoadingCache<RegionAndName,com.google.common.base.Optional<Subnetwork>> subnetworksMap(com.google.common.cache.CacheLoader<RegionAndName,com.google.common.base.Optional<Subnetwork>> in)
-
-