public class CloudStackComputeServiceContextModule extends ComputeServiceAdapterContextModule<VirtualMachine,ServiceOffering,Template,Zone>
ComputeServiceAdapterContextModule.AddDefaultCredentialsToImage, ComputeServiceAdapterContextModule.LocationsFromComputeServiceAdapterModule<N,H,I,L>
BaseComputeServiceContextModule.RunScriptOnNodeFactoryImpl
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>> in) |
protected com.google.common.base.Predicate<String> |
jobComplete(JobComplete jobComplete) |
protected com.google.common.cache.LoadingCache<String,SshKeyPair> |
keyPairMap(com.google.common.cache.CacheLoader<String,SshKeyPair> in) |
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,
CloudStackApi client) |
com.google.common.base.Supplier<Map<String,OSType>> |
listOSTypes(AtomicReference<AuthorizationException> authException,
long seconds,
CloudStackApi client) |
com.google.common.base.Supplier<Map<String,Project>> |
listProjects(AtomicReference<AuthorizationException> authException,
long seconds,
ProjectsForCurrentUser projectsForCurrentUser) |
Map<NetworkType,? extends OptionsConverter> |
optionsConverters() |
protected TemplateOptions |
provideTemplateOptions(com.google.inject.Injector injector,
TemplateOptions options) |
protected com.google.common.cache.LoadingCache<ZoneAndName,SecurityGroup> |
securityGroupMap(com.google.common.cache.CacheLoader<ZoneAndName,SecurityGroup> in) |
defineAddNodeWithTagStrategy, defineDestroyNodeStrategy, defineGetImageStrategy, defineGetNodeMetadataStrategy, defineListNodesStrategy, defineRebootNodeStrategy, defineStartNodeStrategy, defineStopNodeStrategy, provideHardware, provideImages
bindCredentialsOverriderFunction, guiceProvideImageExtension, guiceProvideSecurityGroupExtension, guiceProvideTemplateOptions, indexer, osFamilyToCredentials, provideImageExtension, provideImageMap, provideOsFamilyToCredentials, provideOsVersionMap, provideSecurityGroupExtension, provideSizeMap, provideTemplateOptionallyFromProperties, shouldEagerlyParseImages, supplyImageCache, supplyNonParsingImages, 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
protected TemplateOptions provideTemplateOptions(com.google.inject.Injector injector, TemplateOptions options)
provideTemplateOptions
in class BaseComputeServiceContextModule
@Provides @Singleton public final com.google.common.base.Supplier<Map<String,String>> listOSCategories(AtomicReference<AuthorizationException> authException, @Named(value="jclouds.session-interval") long seconds, CloudStackApi client)
@Provides @Singleton public final com.google.common.base.Supplier<Map<String,OSType>> listOSTypes(AtomicReference<AuthorizationException> authException, @Named(value="jclouds.session-interval") long seconds, CloudStackApi client)
@Provides @Singleton public final com.google.common.base.Supplier<Map<String,Network>> listNetworks(AtomicReference<AuthorizationException> authException, @Named(value="jclouds.session-interval") long seconds, NetworksForCurrentUser networksForCurrentUser)
@Provides @Singleton public final com.google.common.base.Supplier<Map<String,Project>> listProjects(AtomicReference<AuthorizationException> authException, @Named(value="jclouds.session-interval") long seconds, ProjectsForCurrentUser projectsForCurrentUser)
@Provides @Singleton public final com.google.common.base.Supplier<User> getCurrentUser(AtomicReference<AuthorizationException> authException, @Named(value="jclouds.session-interval") long seconds, GetCurrentUser getCurrentUser)
@Provides @Singleton protected final com.google.common.base.Predicate<String> jobComplete(JobComplete jobComplete)
@Provides @Singleton protected final com.google.common.cache.LoadingCache<String,SshKeyPair> keyPairMap(com.google.common.cache.CacheLoader<String,SshKeyPair> in)
@Provides @Singleton protected final com.google.common.cache.LoadingCache<ZoneAndName,SecurityGroup> securityGroupMap(com.google.common.cache.CacheLoader<ZoneAndName,SecurityGroup> in)
@Provides @Singleton protected final com.google.common.cache.LoadingCache<String,Set<IPForwardingRule>> getIPForwardingRulesByVirtualMachine(com.google.common.cache.CacheLoader<String,Set<IPForwardingRule>> in)
@Provides @Singleton protected final com.google.common.cache.LoadingCache<String,Set<FirewallRule>> getFirewallRulesByVirtualMachine(com.google.common.cache.CacheLoader<String,Set<FirewallRule>> getFirewallRules)
@Provides @Singleton public final Map<NetworkType,? extends OptionsConverter> optionsConverters()
Copyright © 2009-2016 The Apache Software Foundation. All Rights Reserved.