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,
SoftLayerApi 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, provideImagesbindCredentialsOverriderFunction, indexer, osFamilyToCredentials, provideImageExtension, provideImageMap, provideOsVersionMap, provideSecurityGroupExtension, provideSizeMap, provideTemplateOptionallyFromProperties, provideTemplateOptions, shouldEagerlyParseImages, supplyImageCache, supplyImageCache, supplyNonParsingImageCache, supplySizeCacheaddError, addError, addError, bind, bind, bind, bindConstant, binder, bindInterceptor, bindListener, bindScope, configure, convertToTypes, currentStage, getMembersInjector, getMembersInjector, getProvider, getProvider, install, requestInjection, requestStaticInjection, requireBinding, requireBindingpublic 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, SoftLayerApi 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-2014 The Apache Software Foundation. All Rights Reserved.