|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.google.inject.AbstractModule
org.jclouds.compute.config.BaseComputeServiceContextModule
org.jclouds.compute.config.ComputeServiceAdapterContextModule<SoftLayerClient,SoftLayerAsyncClient,VirtualGuest,Iterable<ProductItem>,ProductItem,Datacenter>
org.jclouds.softlayer.compute.config.SoftLayerComputeServiceContextModule
public class SoftLayerComputeServiceContextModule
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class org.jclouds.compute.config.ComputeServiceAdapterContextModule |
|---|
ComputeServiceAdapterContextModule.AddDefaultCredentialsToImage, ComputeServiceAdapterContextModule.LocationsFromComputeServiceAdapterModule<N,H,I,L> |
| Constructor Summary | |
|---|---|
SoftLayerComputeServiceContextModule()
|
|
| Method Summary | |
|---|---|
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)
|
protected TemplateBuilder |
provideTemplate(com.google.inject.Injector injector,
TemplateBuilder template)
|
| Methods inherited from class org.jclouds.compute.config.ComputeServiceAdapterContextModule |
|---|
defineAddNodeWithTagStrategy, defineDestroyNodeStrategy, defineGetNodeMetadataStrategy, defineListNodesStrategy, defineRebootNodeStrategy, defineStartNodeStrategy, defineStopNodeStrategy, provideHardware, provideImages |
| Methods inherited from class org.jclouds.compute.config.BaseComputeServiceContextModule |
|---|
indexer, provideImageMap, provideNamingConvention, provideOsVersionMap, provideSizeMap, provideTemplateOptionallyFromProperties, provideTemplateOptions, shouldParseImagesOnDemand, supplyImageCache, supplyImageCache, supplyNonParsingImageCache, supplySizeCache |
| Methods inherited from class com.google.inject.AbstractModule |
|---|
addError, addError, addError, bind, bind, bind, bindConstant, binder, bindInterceptor, bindListener, bindScope, configure, convertToTypes, currentStage, getMembersInjector, getMembersInjector, getProvider, getProvider, install, requestInjection, requestStaticInjection, requireBinding, requireBinding |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SoftLayerComputeServiceContextModule()
| Method Detail |
|---|
protected void configure()
configure in class ComputeServiceAdapterContextModule<SoftLayerClient,SoftLayerAsyncClient,VirtualGuest,Iterable<ProductItem>,ProductItem,Datacenter>
protected TemplateBuilder provideTemplate(com.google.inject.Injector injector,
TemplateBuilder template)
provideTemplate 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)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||