|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.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
Field Summary |
---|
Fields inherited from class org.jclouds.compute.config.BaseComputeServiceContextModule |
---|
authException |
Constructor Summary | |
---|---|
SoftLayerComputeServiceContextModule()
|
Method Summary | |
---|---|
protected void |
configure()
|
com.google.common.base.Supplier<ProductPackage> |
getProductPackage(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)
The default template if none is provided. |
Methods inherited from class org.jclouds.compute.config.ComputeServiceAdapterContextModule |
---|
defineAddNodeWithTagStrategy, defineDestroyNodeStrategy, defineGetNodeMetadataStrategy, defineListNodesStrategy, defineRebootNodeStrategy, defineStartNodeStrategy, defineStopNodeStrategy, provideHardware, provideImages, provideLocations |
Methods inherited from class org.jclouds.compute.config.BaseComputeServiceContextModule |
---|
indexer, provideImageMap, provideNamingConvention, provideOsVersionMap, provideSizeMap, provideTemplateOptions, supplyImageCache, 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)
BaseComputeServiceContextModule
provideTemplate
in class BaseComputeServiceContextModule
@Provides @Singleton public com.google.common.base.Supplier<ProductPackage> getProductPackage(@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 |