@Singleton public class CreateAndRegisterMachineFromIsoIfNotAlreadyExists extends Object implements com.google.common.base.Function<MasterSpec,org.virtualbox_4_1.IMachine>
Constructor and Description |
---|
CreateAndRegisterMachineFromIsoIfNotAlreadyExists(com.google.common.base.Supplier<org.virtualbox_4_1.VirtualBoxManager> manager,
MachineUtils machineUtils,
String workingDir) |
Modifier and Type | Method and Description |
---|---|
org.virtualbox_4_1.IMachine |
apply(MasterSpec launchSpecification) |
void |
ensureMachineHasStorageControllerNamed(String vmName,
StorageController storageController) |
@Named(value="jclouds.compute") protected Logger logger
@Inject public CreateAndRegisterMachineFromIsoIfNotAlreadyExists(com.google.common.base.Supplier<org.virtualbox_4_1.VirtualBoxManager> manager, MachineUtils machineUtils, @Named(value="jclouds.virtualbox.workingdir") String workingDir)
public org.virtualbox_4_1.IMachine apply(MasterSpec launchSpecification)
apply
in interface com.google.common.base.Function<MasterSpec,org.virtualbox_4_1.IMachine>
public void ensureMachineHasStorageControllerNamed(String vmName, StorageController storageController)
Copyright © 2009-2013 jclouds. All Rights Reserved.