|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.google.inject.AbstractModule org.jclouds.compute.config.BaseComputeServiceContextModule org.jclouds.aws.ec2.compute.config.AWSEC2ComputeServiceContextModule
public class AWSEC2ComputeServiceContextModule
Field Summary |
---|
Fields inherited from class org.jclouds.compute.config.BaseComputeServiceContextModule |
---|
authException |
Constructor Summary | |
---|---|
AWSEC2ComputeServiceContextModule()
|
Method Summary | |
---|---|
protected void |
configure()
|
protected void |
installDependencies()
|
protected com.google.common.base.Supplier<com.google.common.cache.Cache<RegionAndName,? extends Image>> |
provideRegionAndNameToImageSupplierCache(long seconds,
AWSRegionAndNameToImageSupplier supplier)
|
protected TemplateBuilder |
provideTemplate(com.google.inject.Injector injector,
TemplateBuilder template)
The default template if none is provided. |
protected TemplateOptions |
provideTemplateOptions(com.google.inject.Injector injector,
TemplateOptions options)
With amazon linux 2011.09, ssh starts after package updates, which slows the boot process and runs us out of ssh retries (context property "jclouds.ssh.max-retries" ). |
Methods inherited from class org.jclouds.compute.config.BaseComputeServiceContextModule |
---|
indexer, provideImageMap, provideNamingConvention, provideOsVersionMap, provideSizeMap, supplyImageCache, supplySizeCache |
Methods inherited from class com.google.inject.AbstractModule |
---|
addError, addError, addError, bind, bind, bind, bindConstant, binder, bindInterceptor, bindListener, bindScope, configure, convertToTypes, currentStage, getMembersInjector, getMembersInjector, getProvider, getProvider, install, requestInjection, requestStaticInjection, requireBinding, requireBinding |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AWSEC2ComputeServiceContextModule()
Method Detail |
---|
protected void configure()
configure
in class BaseComputeServiceContextModule
protected void installDependencies()
@Provides @Singleton protected com.google.common.base.Supplier<com.google.common.cache.Cache<RegionAndName,? extends Image>> provideRegionAndNameToImageSupplierCache(@Named(value="jclouds.session-interval") long seconds, AWSRegionAndNameToImageSupplier supplier)
protected TemplateBuilder provideTemplate(com.google.inject.Injector injector, TemplateBuilder template)
BaseComputeServiceContextModule
provideTemplate
in class BaseComputeServiceContextModule
protected TemplateOptions provideTemplateOptions(com.google.inject.Injector injector, TemplateOptions options)
"jclouds.ssh.max-retries"
).
provideTemplateOptions
in class BaseComputeServiceContextModule
AWSEC2PropertiesBuilder#defaultProperties
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |