public class CloudStackComputeServiceContextModule extends ComputeServiceAdapterContextModule<CloudStackClient,CloudStackAsyncClient,VirtualMachine,ServiceOffering,Template,Zone>
Modifier and Type | Class and Description |
---|---|
static class |
CloudStackComputeServiceContextModule.GetIPForwardingRulesByVirtualMachine |
ComputeServiceAdapterContextModule.AddDefaultCredentialsToImage, ComputeServiceAdapterContextModule.LocationsFromComputeServiceAdapterModule<N,H,I,L>
Constructor and Description |
---|
CloudStackComputeServiceContextModule() |
Modifier and Type | Method and Description |
---|---|
protected void |
configure() |
com.google.common.base.Supplier<User> |
getCurrentUser(AtomicReference<AuthorizationException> authException,
long seconds,
GetCurrentUser getCurrentUser) |
protected com.google.common.cache.LoadingCache<Long,Set<IPForwardingRule>> |
getIPForwardingRulesByVirtualMachine(com.google.common.cache.CacheLoader<Long,Set<IPForwardingRule>> getIPForwardingRules) |
protected com.google.common.base.Predicate<Long> |
jobComplete(JobComplete jobComplete) |
com.google.common.base.Supplier<Map<Long,Network>> |
listNetworks(AtomicReference<AuthorizationException> authException,
long seconds,
NetworksForCurrentUser networksForCurrentUser) |
com.google.common.base.Supplier<Map<Long,String>> |
listOSCategories(AtomicReference<AuthorizationException> authException,
long seconds,
CloudStackClient client) |
com.google.common.base.Supplier<Map<Long,OSType>> |
listOSTypes(AtomicReference<AuthorizationException> authException,
long seconds,
CloudStackClient client) |
Map<NetworkType,? extends OptionsConverter> |
optionsConverters() |
defineAddNodeWithTagStrategy, defineDestroyNodeStrategy, defineGetNodeMetadataStrategy, defineListNodesStrategy, defineRebootNodeStrategy, defineStartNodeStrategy, defineStopNodeStrategy, provideHardware, provideImages
indexer, provideImageMap, provideNamingConvention, provideOsVersionMap, provideSizeMap, provideTemplate, provideTemplateOptionallyFromProperties, provideTemplateOptions, shouldParseImagesOnDemand, supplyImageCache, supplyImageCache, supplyNonParsingImageCache, supplySizeCache
addError, addError, addError, bind, bind, bind, bindConstant, binder, bindInterceptor, bindListener, bindScope, configure, convertToTypes, currentStage, getMembersInjector, getMembersInjector, getProvider, getProvider, install, requestInjection, requestStaticInjection, requireBinding, requireBinding
public CloudStackComputeServiceContextModule()
protected void configure()
@Provides @Singleton public com.google.common.base.Supplier<Map<Long,String>> listOSCategories(AtomicReference<AuthorizationException> authException, @Named(value="jclouds.session-interval") long seconds, CloudStackClient client)
@Provides @Singleton public com.google.common.base.Supplier<Map<Long,OSType>> listOSTypes(AtomicReference<AuthorizationException> authException, @Named(value="jclouds.session-interval") long seconds, CloudStackClient client)
@Provides @Singleton public com.google.common.base.Supplier<Map<Long,Network>> listNetworks(AtomicReference<AuthorizationException> authException, @Named(value="jclouds.session-interval") long seconds, NetworksForCurrentUser networksForCurrentUser)
@Provides @Singleton public com.google.common.base.Supplier<User> getCurrentUser(AtomicReference<AuthorizationException> authException, @Named(value="jclouds.session-interval") long seconds, GetCurrentUser getCurrentUser)
@Provides @Singleton protected com.google.common.base.Predicate<Long> jobComplete(JobComplete jobComplete)
@Provides @Singleton protected com.google.common.cache.LoadingCache<Long,Set<IPForwardingRule>> getIPForwardingRulesByVirtualMachine(com.google.common.cache.CacheLoader<Long,Set<IPForwardingRule>> getIPForwardingRules)
@Provides @Singleton public Map<NetworkType,? extends OptionsConverter> optionsConverters()
Copyright © 2009-2012 jclouds. All Rights Reserved.