org.jclouds.virtualbox.functions
Class IMachineToSshClient

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

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


Field Summary
protected  Logger logger
           
 
Constructor Summary
IMachineToSshClient(SshClient.Factory sshClientFactory, RunScriptOnNode.Factory scriptRunnerFactory, com.google.common.base.Supplier<NodeMetadata> hostSupplier, MachineUtils machineUtils)
           
 
Method Summary
 SshClient apply(org.virtualbox_4_1.IMachine vm)
           
 
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

IMachineToSshClient

@Inject
public IMachineToSshClient(SshClient.Factory sshClientFactory,
                                  RunScriptOnNode.Factory scriptRunnerFactory,
                                  com.google.common.base.Supplier<NodeMetadata> hostSupplier,
                                  MachineUtils machineUtils)
Method Detail

apply

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


Copyright © 2009-2012 jclouds. All Rights Reserved.