org.jclouds.virtualbox.functions
Class CreateAndRegisterMachineFromIsoIfNotAlreadyExists
java.lang.Object
org.jclouds.virtualbox.functions.CreateAndRegisterMachineFromIsoIfNotAlreadyExists
- All Implemented Interfaces:
- com.google.common.base.Function<MasterSpec,org.virtualbox_4_1.IMachine>
@Singleton
public class CreateAndRegisterMachineFromIsoIfNotAlreadyExists
- extends Object
- implements com.google.common.base.Function<MasterSpec,org.virtualbox_4_1.IMachine>
- Author:
- Mattias Holmqvist
| 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 |
logger
@Named(value="jclouds.compute")
protected Logger logger
CreateAndRegisterMachineFromIsoIfNotAlreadyExists
@Inject
public CreateAndRegisterMachineFromIsoIfNotAlreadyExists(com.google.common.base.Supplier<org.virtualbox_4_1.VirtualBoxManager> manager,
MachineUtils machineUtils,
@Named(value="jclouds.virtualbox.workingdir")
String workingDir)
apply
public org.virtualbox_4_1.IMachine apply(@Nullable
MasterSpec launchSpecification)
- Specified by:
apply in interface com.google.common.base.Function<MasterSpec,org.virtualbox_4_1.IMachine>
ensureMachineHasStorageControllerNamed
public void ensureMachineHasStorageControllerNamed(String vmName,
StorageController storageController)
Copyright © 2009-2012 jclouds. All Rights Reserved.