org.jclouds.virtualbox.functions
Class CreateAndInstallVm

java.lang.Object
  extended by org.jclouds.virtualbox.functions.CreateAndInstallVm
All Implemented Interfaces:
com.google.common.base.Function<MasterSpec,org.virtualbox_4_1.IMachine>

@Singleton
public class CreateAndInstallVm
extends Object
implements com.google.common.base.Function<MasterSpec,org.virtualbox_4_1.IMachine>


Field Summary
protected  Logger logger
           
 
Constructor Summary
CreateAndInstallVm(CreateAndRegisterMachineFromIsoIfNotAlreadyExists CreateAndRegisterMachineFromIsoIfNotAlreadyExists, IMachineToNodeMetadata imachineToNodeMetadata, com.google.common.base.Predicate<SshClient> sshResponds, com.google.common.base.Function<org.virtualbox_4_1.IMachine,SshClient> sshClientForIMachine, MachineUtils machineUtils, MachineController machineController, String version, String preconfigurationUrl)
           
 
Method Summary
 org.virtualbox_4_1.IMachine apply(MasterSpec masterSpec)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.google.common.base.Function
equals
 

Field Detail

logger

@Named(value="jclouds.compute")
protected Logger logger
Constructor Detail

CreateAndInstallVm

@Inject
public CreateAndInstallVm(CreateAndRegisterMachineFromIsoIfNotAlreadyExists CreateAndRegisterMachineFromIsoIfNotAlreadyExists,
                                 IMachineToNodeMetadata imachineToNodeMetadata,
                                 com.google.common.base.Predicate<SshClient> sshResponds,
                                 com.google.common.base.Function<org.virtualbox_4_1.IMachine,SshClient> sshClientForIMachine,
                                 MachineUtils machineUtils,
                                 MachineController machineController,
                                 String version,
                                 @Named(value="jclouds.virtualbox.preconfigurationurl")
                                 String preconfigurationUrl)
Method Detail

apply

public org.virtualbox_4_1.IMachine apply(MasterSpec masterSpec)
Specified by:
apply in interface com.google.common.base.Function<MasterSpec,org.virtualbox_4_1.IMachine>


Copyright © 2009-2012 jclouds. All Rights Reserved.