public class SoftLayerComputeServiceContextModule extends ComputeServiceAdapterContextModule<VirtualGuest,Iterable<ProductItem>,ProductItem,Datacenter>
ComputeServiceAdapterContextModule.AddDefaultCredentialsToImage, ComputeServiceAdapterContextModule.LocationsFromComputeServiceAdapterModule<N,H,I,L>
BaseComputeServiceContextModule.RunScriptOnNodeFactoryImpl
Constructor and Description |
---|
SoftLayerComputeServiceContextModule() |
Modifier and Type | Method and Description |
---|---|
protected void |
configure() |
com.google.common.base.Supplier<ProductPackage> |
getProductPackage(AtomicReference<AuthorizationException> authException,
long seconds,
SoftLayerClient client,
String virtualGuestPackageName)
Many requests need the same productPackage, which is in this case the package for virtual
guests.
|
Iterable<ProductItemPrice> |
prices(String prices) |
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 SoftLayerComputeServiceContextModule()
protected void configure()
configure
in class BaseComputeServiceContextModule
@Provides @Singleton public com.google.common.base.Supplier<ProductPackage> getProductPackage(AtomicReference<AuthorizationException> authException, @Named(value="jclouds.session-interval") long seconds, SoftLayerClient client, @Named(value="jclouds.softlayer.virtualguest.package-name") String virtualGuestPackageName)
@Provides @Singleton public Iterable<ProductItemPrice> prices(@Named(value="jclouds.softlayer.virtualguest.prices") String prices)
Copyright © 2009-2013 jclouds. All Rights Reserved.