public class JoyentCloudComputeServiceContextModule extends ComputeServiceAdapterContextModule<MachineInDatacenter,PackageInDatacenter,DatasetInDatacenter,Location>
ComputeServiceAdapterContextModule.AddDefaultCredentialsToImage, ComputeServiceAdapterContextModule.LocationsFromComputeServiceAdapterModule<N,H,I,L>| Modifier and Type | Field and Description |
|---|---|
static Map<Machine.State,NodeMetadata.Status> |
toPortableNodeStatus |
| Constructor and Description |
|---|
JoyentCloudComputeServiceContextModule() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
configure() |
protected com.google.common.base.Supplier<Map<String,Location>> |
createLocationIndexedById(com.google.common.base.Supplier<Set<? extends Location>> locations) |
protected com.google.common.cache.LoadingCache<DatacenterAndName,KeyAndPrivateKey> |
keyMap(com.google.common.cache.CacheLoader<DatacenterAndName,KeyAndPrivateKey> in) |
protected TemplateOptions |
provideTemplateOptions(com.google.inject.Injector injector,
TemplateOptions options)
The default options if none are provided.
|
protected Map<Machine.State,NodeMetadata.Status> |
toPortableNodeStatus() |
defineAddNodeWithTagStrategy, defineDestroyNodeStrategy, defineGetImageStrategy, defineGetNodeMetadataStrategy, defineListNodesStrategy, defineRebootNodeStrategy, defineStartNodeStrategy, defineStopNodeStrategy, provideHardware, provideImagesbindCredentialsOverriderFunction, indexer, osFamilyToCredentials, provideImageExtension, provideImageMap, provideOsVersionMap, provideSizeMap, provideTemplateOptionallyFromProperties, 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 static final Map<Machine.State,NodeMetadata.Status> toPortableNodeStatus
public JoyentCloudComputeServiceContextModule()
protected void configure()
configure in class BaseComputeServiceContextModuleprotected TemplateOptions provideTemplateOptions(com.google.inject.Injector injector, TemplateOptions options)
BaseComputeServiceContextModuleprovideTemplateOptions in class BaseComputeServiceContextModule@Provides @Singleton protected com.google.common.cache.LoadingCache<DatacenterAndName,KeyAndPrivateKey> keyMap(com.google.common.cache.CacheLoader<DatacenterAndName,KeyAndPrivateKey> in)
@Provides @Singleton protected com.google.common.base.Supplier<Map<String,Location>> createLocationIndexedById(com.google.common.base.Supplier<Set<? extends Location>> locations)
@Singleton @Provides protected Map<Machine.State,NodeMetadata.Status> toPortableNodeStatus()
Copyright © 2009-2013 jclouds. All Rights Reserved.