org.jclouds.joyent.cloudapi.v6_5.compute.config
Class JoyentCloudComputeServiceContextModule
java.lang.Object
com.google.inject.AbstractModule
org.jclouds.compute.config.BaseComputeServiceContextModule
org.jclouds.compute.config.ComputeServiceAdapterContextModule<MachineInDatacenter,PackageInDatacenter,DatasetInDatacenter,org.jclouds.domain.Location>
org.jclouds.joyent.cloudapi.v6_5.compute.config.JoyentCloudComputeServiceContextModule
- All Implemented Interfaces:
- com.google.inject.Module
public class JoyentCloudComputeServiceContextModule
- extends org.jclouds.compute.config.ComputeServiceAdapterContextModule<MachineInDatacenter,PackageInDatacenter,DatasetInDatacenter,org.jclouds.domain.Location>
Module for building a compute service context for Cloud Api
- Author:
- Adrian Cole
| Nested classes/interfaces inherited from class org.jclouds.compute.config.ComputeServiceAdapterContextModule |
org.jclouds.compute.config.ComputeServiceAdapterContextModule.AddDefaultCredentialsToImage, org.jclouds.compute.config.ComputeServiceAdapterContextModule.LocationsFromComputeServiceAdapterModule<N,H,I,L> |
| 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 |
toPortableNodeStatus
public static final Map<Machine.State,org.jclouds.compute.domain.NodeMetadata.Status> toPortableNodeStatus
JoyentCloudComputeServiceContextModule
public JoyentCloudComputeServiceContextModule()
configure
protected void configure()
- Overrides:
configure in class org.jclouds.compute.config.BaseComputeServiceContextModule
provideTemplateOptions
protected org.jclouds.compute.options.TemplateOptions provideTemplateOptions(com.google.inject.Injector injector,
org.jclouds.compute.options.TemplateOptions options)
- Overrides:
provideTemplateOptions in class org.jclouds.compute.config.BaseComputeServiceContextModule
keyMap
@Provides
@Singleton
protected com.google.common.cache.LoadingCache<DatacenterAndName,KeyAndPrivateKey> keyMap(com.google.common.cache.CacheLoader<DatacenterAndName,KeyAndPrivateKey> in)
createLocationIndexedById
@Provides
@Singleton
protected com.google.common.base.Supplier<Map<String,org.jclouds.domain.Location>> createLocationIndexedById(com.google.common.base.Supplier<Set<? extends org.jclouds.domain.Location>> locations)
toPortableNodeStatus
@Singleton
@Provides
protected Map<Machine.State,org.jclouds.compute.domain.NodeMetadata.Status> toPortableNodeStatus()
Copyright © 2009-2012 jclouds. All Rights Reserved.