org.jclouds.virtualbox.functions
Class CreateAndInstallVm
java.lang.Object
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>
| 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
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)
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.