public class VirtualBoxComputeServiceContextModule extends ComputeServiceAdapterContextModule<org.virtualbox_4_1.IMachine,Hardware,Image,Location>
ComputeServiceAdapterContextModule.AddDefaultCredentialsToImage, ComputeServiceAdapterContextModule.LocationsFromComputeServiceAdapterModule<N,H,I,L>
Modifier and Type | Field and Description |
---|---|
static Map<org.virtualbox_4_1.MachineState,Image.Status> |
toPortableImageStatus |
static Map<org.virtualbox_4_1.MachineState,NodeMetadata.Status> |
toPortableNodeStatus |
Constructor and Description |
---|
VirtualBoxComputeServiceContextModule() |
Modifier and Type | Method and Description |
---|---|
protected void |
configure() |
protected com.google.common.base.Optional<ImageExtension> |
provideImageExtension(com.google.inject.Injector i) |
protected com.google.common.base.Function<com.google.common.base.Supplier<NodeMetadata>,org.virtualbox_4_1.VirtualBoxManager> |
provideVBox() |
protected com.google.common.base.Predicate<SshClient> |
sshResponds(SshResponds sshResponds,
ComputeServiceConstants.Timeouts timeouts) |
protected Map<org.virtualbox_4_1.MachineState,Image.Status> |
toPortableImageStatus() |
protected Map<org.virtualbox_4_1.MachineState,NodeMetadata.Status> |
toPortableNodeStatus() |
defineAddNodeWithTagStrategy, defineDestroyNodeStrategy, defineGetImageStrategy, defineGetNodeMetadataStrategy, defineListNodesStrategy, defineRebootNodeStrategy, defineStartNodeStrategy, defineStopNodeStrategy, provideHardware, provideImages
bindCredentialsOverriderFunction, indexer, osFamilyToCredentials, provideImageMap, provideOsVersionMap, provideSizeMap, provideTemplateOptionallyFromProperties, provideTemplateOptions, shouldEagerlyParseImages, supplyImageCache, supplyImageCache, supplyNonParsingImageCache, supplySizeCache
addError, addError, addError, bind, bind, bind, bindConstant, binder, bindInterceptor, bindListener, bindScope, configure, convertToTypes, currentStage, getMembersInjector, getMembersInjector, getProvider, getProvider, install, requestInjection, requestStaticInjection, requireBinding, requireBinding
public static final Map<org.virtualbox_4_1.MachineState,NodeMetadata.Status> toPortableNodeStatus
public static final Map<org.virtualbox_4_1.MachineState,Image.Status> toPortableImageStatus
public VirtualBoxComputeServiceContextModule()
protected void configure()
configure
in class BaseComputeServiceContextModule
@Provides @Singleton protected com.google.common.base.Function<com.google.common.base.Supplier<NodeMetadata>,org.virtualbox_4_1.VirtualBoxManager> provideVBox()
@Provides @Singleton protected com.google.common.base.Predicate<SshClient> sshResponds(SshResponds sshResponds, ComputeServiceConstants.Timeouts timeouts)
protected com.google.common.base.Optional<ImageExtension> provideImageExtension(com.google.inject.Injector i)
provideImageExtension
in class BaseComputeServiceContextModule
@Singleton @Provides protected Map<org.virtualbox_4_1.MachineState,NodeMetadata.Status> toPortableNodeStatus()
@Singleton @Provides protected Map<org.virtualbox_4_1.MachineState,Image.Status> toPortableImageStatus()
Copyright © 2009-2013 jclouds. All Rights Reserved.