|
||||||||||
| 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<MachineInDatacenter,PackageInDatacenter,DatasetInDatacenter,Location>
org.jclouds.joyent.cloudapi.v6_5.compute.config.JoyentCloudComputeServiceContextModule
public class JoyentCloudComputeServiceContextModule
Module for building a compute service context for Cloud Api
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class org.jclouds.compute.config.ComputeServiceAdapterContextModule |
|---|
ComputeServiceAdapterContextModule.AddDefaultCredentialsToImage, ComputeServiceAdapterContextModule.LocationsFromComputeServiceAdapterModule<N,H,I,L> |
| Field Summary | |
|---|---|
static Map<Machine.State,NodeMetadata.Status> |
toPortableNodeStatus
|
| Constructor Summary | |
|---|---|
JoyentCloudComputeServiceContextModule()
|
|
| Method Summary | |
|---|---|
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 SecureRandom |
provideSecureRandom()
|
protected TemplateOptions |
provideTemplateOptions(com.google.inject.Injector injector,
TemplateOptions options)
The default options if none are provided. |
protected Map<Machine.State,NodeMetadata.Status> |
toPortableNodeStatus()
|
| Methods inherited from class org.jclouds.compute.config.ComputeServiceAdapterContextModule |
|---|
defineAddNodeWithTagStrategy, defineDestroyNodeStrategy, defineGetImageStrategy, defineGetNodeMetadataStrategy, defineListNodesStrategy, defineRebootNodeStrategy, defineStartNodeStrategy, defineStopNodeStrategy, provideHardware, provideImages |
| Methods inherited from class org.jclouds.compute.config.BaseComputeServiceContextModule |
|---|
bindCredentialsOverriderFunction, indexer, osFamilyToCredentials, provideImageExtension, provideImageMap, provideOsVersionMap, provideSizeMap, provideTemplateOptionallyFromProperties, shouldEagerlyParseImages, 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 |
| Field Detail |
|---|
public static final Map<Machine.State,NodeMetadata.Status> toPortableNodeStatus
| Constructor Detail |
|---|
public JoyentCloudComputeServiceContextModule()
| Method Detail |
|---|
protected void configure()
configure in class BaseComputeServiceContextModule
protected TemplateOptions provideTemplateOptions(com.google.inject.Injector injector,
TemplateOptions options)
BaseComputeServiceContextModule
provideTemplateOptions 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)
@Provides @Singleton protected SecureRandom provideSecureRandom()
@Singleton @Provides protected Map<Machine.State,NodeMetadata.Status> toPortableNodeStatus()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||