public class CloudStackComputeServiceContextModule extends ComputeServiceAdapterContextModule<VirtualMachine,ServiceOffering,Template,Zone>
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<String,Set<FirewallRule>> |
getFirewallRulesByVirtualMachine(com.google.common.cache.CacheLoader<String,Set<FirewallRule>> getFirewallRules) |
protected com.google.common.cache.LoadingCache<String,Set<IPForwardingRule>> |
getIPForwardingRulesByVirtualMachine(com.google.common.cache.CacheLoader<String,Set<IPForwardingRule>> getIPForwardingRules) |
protected com.google.common.base.Predicate<String> |
jobComplete(JobComplete jobComplete) |
com.google.common.base.Supplier<Map<String,Network>> |
listNetworks(AtomicReference<AuthorizationException> authException,
long seconds,
NetworksForCurrentUser networksForCurrentUser) |
com.google.common.base.Supplier<Map<String,String>> |
listOSCategories(AtomicReference<AuthorizationException> authException,
long seconds,
CloudStackClient client) |
com.google.common.base.Supplier<Map<String,OSType>> |
listOSTypes(AtomicReference<AuthorizationException> authException,
long seconds,
CloudStackClient client) |
Map<NetworkType,? extends OptionsConverter> |
optionsConverters() |
defineAddNodeWithTagStrategy, defineDestroyNodeStrategy, defineGetImageStrategy, defineGetNodeMetadataStrategy, defineListNodesStrategy, defineRebootNodeStrategy, defineStartNodeStrategy, defineStopNodeStrategy, provideHardware, provideImages
bindCredentialsOverriderFunction, indexer, osFamilyToCredentials, provideImageExtension, provideImageMap, provideOsVersionMap, provideSizeMap, provideTemplateOptionallyFromProperties, provideTemplateOptions, shouldEagerlyParseImages, 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()
configure
in class BaseComputeServiceContextModule
@Provides @Singleton public com.google.common.base.Supplier<Map<String,String>> listOSCategories(AtomicReference<AuthorizationException> authException, @Named(value="jclouds.session-interval") long seconds, CloudStackClient client)
@Provides @Singleton public com.google.common.base.Supplier<Map<String,OSType>> listOSTypes(AtomicReference<AuthorizationException> authException, @Named(value="jclouds.session-interval") long seconds, CloudStackClient client)
@Provides @Singleton public com.google.common.base.Supplier<Map<String,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<String> jobComplete(JobComplete jobComplete)
@Provides @Singleton protected com.google.common.cache.LoadingCache<String,Set<IPForwardingRule>> getIPForwardingRulesByVirtualMachine(com.google.common.cache.CacheLoader<String,Set<IPForwardingRule>> getIPForwardingRules)
@Provides @Singleton protected com.google.common.cache.LoadingCache<String,Set<FirewallRule>> getFirewallRulesByVirtualMachine(com.google.common.cache.CacheLoader<String,Set<FirewallRule>> getFirewallRules)
@Provides @Singleton public Map<NetworkType,? extends OptionsConverter> optionsConverters()
Copyright © 2009-2013 jclouds. All Rights Reserved.