|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.google.inject.AbstractModule
org.jclouds.compute.config.BaseComputeServiceContextModule
org.jclouds.ec2.compute.config.EC2ComputeServiceContextModule
public class EC2ComputeServiceContextModule
Configures the ComputeServiceContext; requires EC2ComputeService bound.
| Field Summary |
|---|
| Fields inherited from class org.jclouds.compute.config.BaseComputeServiceContextModule |
|---|
authException |
| Constructor Summary | |
|---|---|
EC2ComputeServiceContextModule()
|
|
| 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,
RegionAndNameToImageSupplier supplier)
|
| Methods inherited from class org.jclouds.compute.config.BaseComputeServiceContextModule |
|---|
indexer, provideImageMap, provideNamingConvention, provideOsVersionMap, provideSizeMap, provideTemplate, provideTemplateOptions, 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 EC2ComputeServiceContextModule()
| Method Detail |
|---|
protected void configure()
configure in class BaseComputeServiceContextModuleprotected 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,
RegionAndNameToImageSupplier supplier)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||